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.

Upvotes: 0

Views: 42

Answers (2)

Jay Atkinson
Jay Atkinson

Reputation: 3287

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.

Upvotes: 0

jwodder
jwodder

Reputation: 57610

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.

Upvotes: 4

Related Questions