低质量的社交,不如高质量的独处

dockerhub 推送镜像


登录dockerhub
[root@riyimei-node1:/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 (liweiming0611): 
Password: 
Login Succeeded

 

搜索账户镜像:

[root@riyimei-node1:/home]
> docker search liweiming0611
NAME                                 DESCRIPTION STARS OFFICIAL AUTOMATED
liweiming0611/kubernetes-app         app            0 
liweiming0611/k8s-nginx              nginx          0



[root@riyimei-node1:/home]
> docker tag centos:6 liweiming0611/kubernetes-app:centos-6

[root@riyimei-node1:/home]
> docker image ls
REPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE
192.168.31.149/shop/nginx      v1                  9e2c5d78dc31        3 weeks ago         24.6MB
alpine                         nginx               9e2c5d78dc31        3 weeks ago         24.6MB
liweiming0611                  latest              9e2c5d78dc31        3 weeks ago         24.6MB
liweiming0611/k8s-app          nginx               9e2c5d78dc31        3 weeks ago         24.6MB
liweiming0611/k8s-nginx        nginx               9e2c5d78dc31        3 weeks ago         24.6MB
liweiming0611/kubernetes-app   nginx-0.0.1         9e2c5d78dc31        3 weeks ago         24.6MB
liweiming0611/kubernetes-app   nginx-v0.0.1        9e2c5d78dc31        3 weeks ago         24.6MB
192.168.31.149/shop/nginx      1.12                455672184126        5 weeks ago         520MB
alpine                         latest              3f53bb00af94        7 weeks ago         4.41MB
centos                         6                   0cbf37812bff        4 months ago        194MB
liweiming0611/kubernetes-app   centos-6            0cbf37812bff        4 months ago        194MB

[root@riyimei-node1:/home]
> docker push liweiming0611/kubernetes-app:centos-6
The push refers to repository [docker.io/liweiming0611/kubernetes-app]
5d574ede99e4: Mounted from library/centos 
centos-6: digest: sha256:2fdf04f5ab497275968ce8e4045f540199f11366d8cfaf33581319a3eefbd501 size: 529
posted @ 2019-02-08 17:04  Eren.li  阅读(384)  评论(0编辑  收藏  举报
liweiming0611@163.com
等待有三大特征:
清晰的目的、努力达成的过程、充满不确定性的结果
因上努力,果上随缘
求其上,得其中;求其中,得其下;求其下,无所得