docke获取镜像操作 与上传镜像到公共仓库

1.获取镜像

docker pull image地址
docker pull registry.cn-hangzhou.aliyuncs.com/kaibb/hadoop

 

2.登录docker账户
docker login --username=shuyun --email=tang_xxxxcom@163.com

3.docker tag busybox shuyun/first #打tag   busybox是本地镜像

4.push镜像
docker push shuyun/first

 

posted @ 2018-03-19 15:49  伙小  阅读(245)  评论(0)    收藏  举报