Create a repository
Sign in to Docker Hub.
Select Repositories.
Near the top-right corner, select Create repository.
Select a Namespace.
You can choose to locate it under your own user account, or under any organization where you are an owner or editor.
Specify the Repository Name.
The repository name needs to:
- Be unique
- Have between 2 and 255 characters
- Only contain lowercase letters, numbers, hyphens (
-
), and underscores (_
)
Note
You can't rename a Docker Hub repository once it's created.
Specify the Short description.
The description can be up to 100 characters. It appears in search results.
Select the default visibility.
- Public: The repository appears in Docker Hub search results and can be pulled by everyone.
- Private: The repository doesn't appear in Docker Hub search results and is only accessible to you and collaborators. In addition, if you selected an organization's namespace, then the repository is accessible to those with applicable roles or permissions. For more details, see Roles and permissions.
Note
For organizations creating a new repository, if you're unsure which visibility to choose, then Docker recommends that you select Private.
Select Create.
After the repository is created, the General page appears. You are now able to manage: