建立自己的docker registry

ref: http://www.informit.com/articles/article.aspx?p=2464012
01. Private Docker Hub
sudo docker run -d -p 5000:5000 registry
sudo docker tag hu/oracle localhost:5000/ora11g:latest
sudo docker push localhost:5000/ora11g:latest

02.
sudo docker ps -a (list all container)
sudo docker stop (container-id)
sudo docker rm (stop container id)
sudo docker images (list all images)
sudo docker rmi (image-id)

Leave a Reply