Describe dockerCmd here. following are how to run puppet, nagios and docker registry in docker: Start a container from the image for registry: docker run -d -p 5000:5000 --restart=always -e STORAGE_PATH=/registry -v /registry:/tmp/registry --name ourlocalregistry If we already have the container and it is stopped we just need to start it: docker start ourlocalregistry Start puppet container from the image: docker run -d -it --net=host If we already have the container and it is stopped we just need to start it: docker start fervent_carson Make a image from container and push it to our local registry: e.g. nagios docker ps docker commit docker images (find out the image id of nagios image) docker tag :5000/nagios (e.g. : docker tag 3ea5d6f3e45f li823-33.members.linode.com:5000/nagios) docker push :5000/nagios (e.g. : docker push li823-33.members.linode.com:5000/nagios) use: curl -X GET http://:5000/v2/_catalog to verify if the images were pushed into the registry.