docker push to private warehouse

1. Log in

docker login http://xxxxx.com

2. Log in to the private hub to create a project

   For example, the project is called: abc-dev

2. Tag the image

  docker tag 2e25d8496557 xxxxx.com/abc-dev/arc:1334

  2e25d8496557: IMAGE ID, can be viewed with docker images

  xxxxx.com: Private hub domain name

  abc-dev: project name

  arc: mirror name

  1334: Mirror version number

4. Push

  docker push xxxxx.com/abc-dev/arc:1334  

Guess you like

Origin blog.csdn.net/shujuelin/article/details/109378107