Docker Hub的使用方法

Docker Hub 地址
https://hub.docker.com/repositories

什么是Docker Hub

Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world’s largest repository of container images with an array of content sources including container community developers, open source projects and independent software vendors (ISV) building and distributing their code in containers.
Docker Hub 是 Docker 官方提供的镜像查找和分享的一项服务,目前包括了超过8,000,000个镜像 ,所以我们大部分需求都可以通过在 Docker Hub 中直接下载镜像来实现。

Docker Hub有哪些功能

  • Docker Hub类似于Github : 可以进行镜像仓库的 Push and pull container images.
  • 针对于企业和团队,提供私有的镜像仓库的管理(付费的)
  • Official Images, 可以获取一些Docker官方发布的镜像
  • Official Images: 可以获取一些社区和外部供应商发布的镜像
  • Builds: Automatically build container images from GitHub and Bitbucket and push them to Docker Hub.
  • Webhooks: Trigger actions after a successful push to a repository to integrate Docker Hub with other services.

如何使用 Docker Hub

docker 控制台操作

docker login  登录 
docker search 搜索镜像
docker pull 拉取镜像 
docker push {username}/{镜像名}:{tag}
docker push 推送镜像 
docker logout 退出登录 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

一銤阳光

希望分享的内容对你有帮助

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值