About the Docker Hub
2015-12-29 10:25
711 查看
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.
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 inHub 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 thedocker search,
pull,
login, and
pushcommands.
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 candocker searchfor 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 ofOfficialRepositories. 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.相关文章推荐
- 读深入分析DOcker镜像原理笔记
- [Docker] - 发布镜像到你自己的库
- docker for Mac OS
- 使用shell批量删除docker容器
- 使用灵雀云免费docker修建梯子
- centos6.5 安装docker经历
- 两种方式创建你自己的 Docker 基本映像
- [置顶] Docker笔记
- What Docker?简介
- Dockerfile制作Docker镜像
- Docker命令详解
- Docker学习笔记(一)
- Docker认识理解之路
- Docker介绍与安装使用(一)
- DICOM:docker实现DICOM服务虚拟化
- [Docker] - 制作你自己的镜像
- Docker安装使用笔记
- 我的第一个docker镜像
- Mac OS X Install Docker
- Docker学习总结(4)——Docker镜像与容器命令