About the Docker Hub

About the Docker Hub

The Docker Hub is a cloud-based registry service forbuilding and shipping application or service containers. It provides a centralized resource for containerimage discovery, distribution and change management, user and teamcollaboration, and workflow automation throughout the development pipeline.

Getting started with Docker Hub

Specifically, Docker Hub provides the following major features and functions:

  • Image Repositories: Find, manage, and push and pull images from community, official, and private image libraries.
  • Automated Builds: Automatically create new images when you make changes to a source GitHub or Bitbucket repository.
  • Webhooks: A feature of Automated Builds, Webhooks let you trigger actions after a successful push to a repository.
  • Organizations: Create work groups to manage user access to image repositories.
  • GitHub and Bitbucket Integration: Add the Hub and your Docker Images to your current workflows.

Create a Docker Hub account

To explore Docker Hub, you’ll need to create an account by following thedirections in Hub Accounts. You can create an account and use the Hub with one private repo for free. If you need more private repos, you can upgrade from your free account to a paid plan. To learn more, log in to the Hub and go to Billing & Plans, which you access via the Settings menu (gear icon at upper right).

Work with Docker image repositories

The Docker Hub provides you and your team with a place to build and ship Docker images.

You can configure Docker Hub repositories in two ways:

  • Repositories, which allow you to push images at will from your local Docker daemon to the Hub, and
  • Automated Builds, which allow you to configure GitHub or Bitbucket totrigger the Hub to rebuild repositories when changes are made to the repository.

You can create public repositories which can be accessed by any other Hub user, or you can create private repositories with limited access you control.

Docker commands and Docker Hub

Docker itself provides access to Docker Hub services via the docker search,pull, login, and push commands.

Explore repositories

There are two ways you can search for public repositories and images availableon the Docker Hub. You can “Search” on the Docker Hub website, oryou can docker search for all the repositories and images using the Docker commandlinetool:

$ docker search ubuntu

Both will show you a list of the currently available public repositories on theDocker Hub which match the provided keyword.

A private repository won’t be listed in the repositorysearch results. To see all the repositories you can access and their status,view your “Dashboard” page on Docker Hub.

You can find more information on working with Docker images in the Docker userguide.

Use Official Repositories

The Docker Hub contains a number of OfficialRepositories. These are public,certified repositories from vendors and contributors to Docker. Theycontain Docker images from vendors like Canonical, Oracle, and Red Hatthat you can use as the basis to building your applications and services.

With Official Repositories you know you’re using an optimized andup-to-date image that was built by experts to power your applications.

Note:If you would like to contribute an Official Repository for yourorganization or product, see the documentation on Official Repositories on DockerHub for more information.

Create organization

Learn how to create a Docker Hubaccount and manage your organizations and teams.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值