正文

docker push

(2019-06-22 15:22:52) 下一个

1)

docker tag nginx:latest unix1998/repo_2019:nginx_test1

 

nginx:latest  is an image in your local server, can be any other 

 

unix1998/repo_2019:nginx_test1

unix1998 is user id in dcoekr hub,

repo_2019  is repo name created in unix1998 @ docker hub

 

2)  docker push unix1998/repo_2019:nginx_test1

 

will be OK

 

 

 

 

[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.