创建docker repository

​https://hub.docker.com/r/liuyunshengsir/busybox​

推送镜像到docker hub_运维

制作自己的镜像并登录推送

docker pull busybox

docker tag ffe9d497c324 liuyunshengsir/busybox:v1

[root@test-highgo home]# 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: liuyunshengsir
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
[root@test-highgo home]# docker push liuyunshengsir/busybox:v1
The push refers to repository [docker.io/liuyunshengsir/busybox]
64cac9eaf0da: Mounted from library/busybox
v1: digest: sha256:50e44504ea4f19f141118a8a8868e6c5bb9856efa33f2183f5ccea7ac62aacc9 size: 527