zoukankan      html  css  js  c++  java
  • 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
    
  • 相关阅读:
    google git的使用方法
    C/C++ 开发库 | C/C++ Development Library
    log4cplus c++开源日志系统
    c++配置类
    Markdown基础语法
    Nhibernate 映射关系,一对多 多对一与多对手在映射文件中的体现。
    Nhibernate refers to an unmapped class nhibernate问题的解决(初学者)
    UICollectionView的使用
    Runloop
    UITableView(转)
  • 原文地址:https://www.cnblogs.com/liweiming/p/10356393.html
Copyright © 2011-2022 走看看