登录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/