boonya

首选需要在https://hub.docker.com/上注册用户。

1、登录docker账号
主要命令:docker login

sudo docker login

 

2、推送镜像
主要命令:docker push [respository]

root@ubuntu:/usr/local/docker/images-tars# docker push  boonyadocker/helloworld
The push refers to a repository [boonyadocker/helloworld] (len: 1)
7e84b0f9c8a3: Image already exists
Digest: sha256:b97f1ad290363ef2a26e0bf00be737051b70450db0e162cff3aeb5838bc9c50f
root@ubuntu:/usr/local/docker/images-tars#

3、查看推送成功的镜像

分类:

技术点:

相关文章:

  • 2021-12-10
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2021-06-15
猜你喜欢
  • 2022-12-23
  • 2021-07-19
  • 2022-02-08
  • 2022-02-09
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
相关资源
相似解决方案