config_unix.go 463 B

12345678910111213141516
  1. // +build !windows
  2. package registry
  3. var (
  4. // CertsDir is the directory where certificates are stored
  5. CertsDir = "/etc/docker/certs.d"
  6. )
  7. // cleanPath is used to ensure that a directory name is valid on the target
  8. // platform. It will be passed in something *similar* to a URL such as
  9. // https:/index.docker.io/v1. Not all platforms support directory names
  10. // which contain those characters (such as : on Windows)
  11. func cleanPath(s string) string {
  12. return s
  13. }