简体   繁体   中英

Is it correct to run a private Docker registry like a container?

I am trying to install a private Docker registry, but I m not sure how, I have installed it following this tutorial: http://www.jaas.co/2014/10/23/how-to-use-a-local-persistent-docker-registry-on-centos-6-5/ but Registry is running like a container, is that correct? or there are another ways to do that.

Well, the instructions tell you to run it as a container, and there's a Docker image specifically for running a registry as a container , so I'm going to guess that it's OK. If you don't want to run it in a container, you can download the source code and run it directly on your local machine instead.

I have done both - build from scratch and run from container. I highly recommend you run it from a container. It is easier to manage, and it is well documented .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM