|
|
|
|
|
by taylodl
4040 days ago
|
|
I use a self-hosted docker registry. The good thing is the work has already been done for you! You just need to run the registry image from DockerHub. Here's the steps I used to run my registry: - Mount your storage to a local location - Pull registry image from DockerHub - docker run -p 5000:5000 -v <local storage>:<container storage> -e STORAGE_PATH=<container storage> registry - docker push registry <server>:5000/registry The last step pushes the registry image you retrieved from DockerHub into your own private registry. I'm running this registry on a VM using a Celerra share. Works like a champ! The documentation for the registry image I'm running can be found on GitHub: https://github.com/docker/docker-registry There are many storage options, you don't have to use local storage - there are several options for using cloud storage. Hope that helps! |
|