Settings
You can configure the following settings in Docker Hub:
- Default privacy: Settings for all repositories within each namespace
- Notifications: Personal settings for autobuild notifications
Default privacy
You can configure the following default privacy settings for all repositories in a namespace:
- Disable creation of public repos: Prevent organization users from creating public repositories (organization namespaces only)
- Configure default repository privacy: Set the default repository privacy for new repositories
Disable creation of public repos
Organization owners and editors can prevent creating public repositories within organization namespaces. You cannot configure this setting for personal account namespaces.
NoteEnabling this feature does not affect existing public repositories. Any public repositories that already exist will remain public. To make them private, you must change their visibility in the individual repository settings.
To configure the disable public repositories setting for an organization namespace:
- Sign in to Docker Hub.
- Select My Hub.
- Select your organization from the top-left account drop-down.
- Select Settings > Default privacy.
- Toggle Disable public repositories to your desired setting.
- Select Save.
Configure default repository privacy
Use the default repository privacy setting to automatically set privacy for
repositories created via docker push commands when the repository doesn't
exist yet. In this case, Docker Hub automatically creates the repository with
the default repository privacy for that namespace.
NoteYou cannot configure the default repository privacy setting when Disable public repositories is enabled.
To configure the default repository privacy for a namespace:
Sign in to Docker Hub.
Select My Hub.
Select your organization or account from the top-left account drop-down.
Select Settings > Default privacy.
In Default repository privacy, select the desired default privacy setting:
- Public: All new repositories appear in Docker Hub search results and can be pulled by everyone.
- Private: All new repositories don't appear in Docker Hub search results and are only accessible to you and collaborators. In addition, if the repository is created in an organization's namespace, then the repository is accessible to those with applicable roles or permissions.
Select Save.
Notifications
You can send notifications to your email for all your repositories using autobuilds.
Configure autobuild notifications
Sign in to Docker Hub.
Select My Hub.
Select your personal account from the top-left account drop-down.
Select Settings > Notifications.
Select the notifications to receive by email:
- Off: No notifications.
- Only failures: Only notifications about failed builds.
- Everything: Notifications for successful and failed builds.
Select Save.