标签:sha tomat use docke csharp head pull app tom
登录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
标签:sha tomat use docke csharp head pull app tom
原文地址:https://www.cnblogs.com/liweiming/p/10356393.html