Our Docker images ship closed sources, we need to store them somewhere safe, using own private docker registry.
We search the simplest way to deploy a private docker registry with a simple authentication layer.
I found :
- this manual way http://www.activestate.com/blog/2014/01/deploying-your-own-private-docker-registry
- and the
shipyard/docker-private-registry
docker image based on stackbrew/registry and adding basic auth via Nginx – https://github.com/shipyard/docker-private-registry
I think use shipyard/docker-private-registry
, but is there one another best way?
Best Solution
I'm still learning how to run and use Docker, consider this an idea:
The registry is then accessible at localhost:5000, authentication is done through ssh that you probably already know and use.
Sources: