We now advise people to configure docker group and add to sudo. Mac shouldn't use sudo. Removed sudo from command examples. Left in installation to be removed in installation doc sweep -- removing requires finer grain control. Signed-off-by: Mary Anthony <mary@docker.com>
2.3 KiB
page_title: Getting started with Docker Hub page_description: Introductory guide to getting an account on Docker Hub 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
Getting Started with Docker Hub
This section provides a quick introduction to the Docker Hub, including how to create an account.
The Docker Hub 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:
- Docker image hosting.
- User authentication.
- Automated image builds and work-flow tools such as build triggers and web hooks.
- Integration with GitHub and BitBucket.
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.
Creating a Docker Hub Account
There are two ways for you to register and create an account:
- Via the web, or
- Via the command line.
Register via the web
Fill in the sign-up form by 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.
Register via the command line
You can also create a Docker Hub account via the command line with the
docker login
command.
$ docker login
Confirm your email
Once you've filled in the form, check your email for a welcome message asking for confirmation so we can activate your account.
Login
After you complete the confirmation process, you can login using the web console:
Or via the command line with the docker login
command:
$ docker login
Your Docker Hub account is now active and ready to use.
Next steps
Next, let's start learning how to Dockerize applications with our "Hello world" exercise.
Go to Dockerizing Applications.