1. 程式人生 > >易學筆記-第3章 映象/3.7 上傳映象

易學筆記-第3章 映象/3.7 上傳映象

  • 上傳映象
  1. 將自己的映象上傳到官方倉庫,步驟
    1. 為映象打標籤:

      [[email protected] ~]# docker tag docker.io/ubuntu:latest my/ubuntu:001

    2. 使用命令 docker push 

      [[email protected] ~]# 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

      [[email protected] ~]#