易学笔记-第3章 镜像/3.7 上传镜像

  • 上传镜像
  1. 将自己的镜像上传到官方仓库,步骤
    1. 为镜像打标签:

      [root@zabbix ~]# docker tag docker.io/ubuntu:latest my/ubuntu:001

    2. 使用命令 docker push 

      [root@zabbix ~]# docker push my/ubuntu:001

      The push refers to a repository [docker.io/my/ubuntu]

      7f7a065d245a: Preparing

      f96e6b25195f: Preparing

      c56153825175: Preparing

      ae620432889d: Preparing

      unauthorized: authentication required

      [root@zabbix ~]#

猜你喜欢

转载自blog.csdn.net/u011830122/article/details/84096465
今日推荐