docker the docker registry (a private installation of it) use https (tls/ssl)

When you run your own registry (as per http://blog.docker.io/2013/07/how-to-use-your-own-registry/) there is a pattern to follow with tagging your image/repository so when you push – it goes to your private repo.

There is no space for a protocol – how is this secured – TLS or ssh? it also runs on http but there doesn’t seem to be a way to explicitly specify to only use https.

  • CentOS 7 Docker Image and locale compilation
  • Docker: Host not found in upstream app:9000
  • Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
  • Install shipyard on existing docker swarm
  • How can I expose a Docker container port only to localhost so that it is also accessible via an ssh tunnel?
  • Change ENTRYPOINT to container after building
  • Need to create listener for docker plugin on Jenkins on port 2375
  • How to upgrade an application inside a Docker image
  • Access volume in docker build
  • Ansible how to push local image to private registry
  • Write journald metadata to rsyslog
  • How to set a docker container's iP?
  • One Solution collect form web for “docker the docker registry (a private installation of it) use https (tls/ssl)”

    It pings the private registry to see if https is available first, and if not it will use http. So, if you offer a https version of your private repo, it will automatically use it.

    You can see the code in Docker where this happens here.

    https://github.com/dotcloud/docker/blob/master/registry/registry.go#L116

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.