Docker push image to Docker hub
1. Before push image to Docker Hub, register an account in https://hub.docker.com/
2.Input "docker login" in the docker command line interface and input the username and password of account from Docker Hub
3.Create and build the docker images, here we use the hello-world from docker as an example
Use below method to create tag and push to docker hub
After the image is pushed to the docker hub, you could see the the hello-world image exists in the Docker Hub with the tag as latest(default, you could set it as 0.0.1 and other tag value)
Key point:
The reponame should be in this format:
相关推荐
王道革 2020-11-25
bwyyziq 2020-11-22
pigsmall 2020-11-19
changecan 2020-11-19
helloWorldAndYou 2020-11-16
nginxs 2020-11-14
红石丶 2020-11-13
WanKaShing 2020-11-12
yangkang 2020-11-12
滴水穿石点石成金 2020-11-12
张荣珍 2020-11-12
wuxunanjing 2020-11-11
魅惑青花瓷 2020-11-11
lihongtai 2020-11-09
yangkang 2020-11-09
worldsnow 2020-11-06
MichaelJScofield 2020-11-06
TaoTaoFu 2020-11-06