2014-06-01 16:48:04 -04:00
|
|
|
page_title: Getting started with Docker Hub
|
|
|
|
page_description: Introductory guide to getting an account on Docker Hub
|
2014-05-21 17:05:19 -04:00
|
|
|
page_keywords: documentation, docs, the docker guide, docker guide, docker, docker platform, virtualization framework, docker.io, central service, services, how to, container, containers, automation, collaboration, collaborators, registry, repo, repository, technology, github webhooks, trusted builds
|
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
# Getting Started with Docker Hub
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
2014-07-17 19:41:50 -04:00
|
|
|
This section provides a quick introduction to the [Docker Hub](https://hub.docker.com),
|
|
|
|
including how to create an account.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
The [Docker Hub](https://hub.docker.com) is a centralized resource for working with
|
|
|
|
Docker and its components. Docker Hub helps you collaborate with colleagues and get the
|
|
|
|
most out of Docker.To do this, it provides services such as:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
* Docker image hosting.
|
2014-05-21 17:05:19 -04:00
|
|
|
* User authentication.
|
2014-06-18 20:50:24 -04:00
|
|
|
* Automated image builds and work-flow tools such as build triggers and web
|
2014-05-21 17:05:19 -04:00
|
|
|
hooks.
|
|
|
|
* Integration with GitHub and BitBucket.
|
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
In order to use Docker Hub, you will first need to register and create an account. Don't
|
|
|
|
worry, creating an account is simple and free.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-01 16:48:04 -04:00
|
|
|
## Creating a Docker Hub Account
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-07-17 19:41:50 -04:00
|
|
|
There are two ways for you to register and create an account:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
1. Via the web, or
|
|
|
|
2. Via the command line.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
### Register via the web
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
Fill in the [sign-up form](https://hub.docker.com/account/signup/) by
|
2014-07-17 19:41:50 -04:00
|
|
|
choosing your user name and password and entering a valid email address. You can also
|
|
|
|
sign up for the Docker Weekly mailing list, which has lots of information about what's
|
|
|
|
going on in the world of Docker.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
![Register using the sign-up page](/userguide/register-web.png)
|
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
### Register via the command line
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
You can also create a Docker Hub account via the command line with the
|
2014-05-21 17:05:19 -04:00
|
|
|
`docker login` command.
|
|
|
|
|
|
|
|
$ sudo docker login
|
|
|
|
|
|
|
|
### Confirm your email
|
|
|
|
|
2014-07-17 19:41:50 -04:00
|
|
|
Once you've filled in the form, check your email for a welcome message asking for
|
|
|
|
confirmation so we can activate your account.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
### Login
|
2014-05-21 17:05:19 -04:00
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
After you complete the confirmation process, you can login using the web console:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
![Login using the web console](/userguide/login-web.png)
|
|
|
|
|
2014-06-18 20:50:24 -04:00
|
|
|
Or via the command line with the `docker login` command:
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
$ sudo docker login
|
|
|
|
|
2014-07-17 19:41:50 -04:00
|
|
|
Your Docker Hub account is now active and ready to use.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
## Next steps
|
|
|
|
|
2014-07-01 18:07:05 -04:00
|
|
|
Next, let's start learning how to Dockerize applications with our "Hello world"
|
2014-06-18 20:50:24 -04:00
|
|
|
exercise.
|
2014-05-21 17:05:19 -04:00
|
|
|
|
|
|
|
Go to [Dockerizing Applications](/userguide/dockerizing).
|
|
|
|
|