登錄Dockerdocker
docker login
發佈鏡像shell
docker push siguoya/hello-world
刪除本地、從服務器下載ubuntu
docker rmi siguoya/hello-world docker pull siguoya/hello-world
https://hub.docker.com/add/automated-build/siguoya/
https://hub.docker.com/_/registry/
# 一條命令搞定搭建 docker run -d -p 5000:5000 --restart always --name registry registry:2 # 當即使用 docker pull ubuntu docker tag ubuntu localhost:5000/ubuntu docker push localhost:5000/ubuntu
https://docs.docker.com/registry/spec/api/