docker:push image到hub.docker.com

[root@localhost centos-vim]# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: soymilk2008
Password: 
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
[root@localhost centos-vim]# docker push soymilk/centos-vim:latest

 

posted @ 2020-06-03 03:58  豆浆D  阅读(346)  评论(0编辑  收藏  举报