文章目录
登入docker hub
$ sudo 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: ehuamay
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
Login Succeeded
$ sudo docker push ehuamay/centos-vim-new
The push refers to repository [docker.io/ehuamay/centos-vim-new]
b199769846e9: Pushing [==================================================>] 127.3MB
877b494a9f30: Mounted from library/centos
版权声明:本文为hyt1152860391原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。