-
Notifications
You must be signed in to change notification settings - Fork 8.1k
hub: refresh/restructure repo content #21435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -142,7 +142,6 @@ mfsymlinks | |
| minikube | ||
| musl | ||
| nameserver | ||
| namespace | ||
| npm | ||
| osquery | ||
| osxfs | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,88 +1,51 @@ | ||
| --- | ||
| description: Learn how to manage repositories on Docker Hub | ||
| keywords: Docker, docker, trusted, registry, accounts, plans, Dockerfile, Docker Hub, | ||
| webhooks, docs, documentation, manage, repos | ||
| title: Manage repositories | ||
| keywords: Docker Hub, Hub, repositories | ||
| title: Repositories | ||
| weight: 20 | ||
| aliases: | ||
| - /engine/tutorials/dockerrepos/ | ||
| - /docker-hub/repos/ | ||
| - /docker-hub/repos/configure/ | ||
| --- | ||
|
|
||
| ## Manage default repository settings | ||
|
|
||
| You can manage the default repository settings for your personal account in Docker Hub. Select the **Settings** icon, then select **Repository Settings**. | ||
|
|
||
|  | ||
|
|
||
| Here you can manage the following: | ||
|
|
||
| - Default privacy: set the default repository privacy to either **Public** or **Private**. | ||
| - Linked accounts: for users with a Docker Pro, Team, or Business subscription, manage your source provider accounts to enable Automated Builds. | ||
| - Notifications: for users with a Docker Pro, Team, or Business subscription, manage how you receive notifications from autobuilds. | ||
|
|
||
| ## Change a repository from public to private | ||
|
|
||
| 1. Navigate to your repository. | ||
| 2. Select the **Settings** tab. | ||
| 3. Select **Make private**. | ||
| 4. Enter the name of your repository to confirm. | ||
|
|
||
| You get one free private repository with your Docker Hub user account (not | ||
| available for organizations you're a member of). If you need more private | ||
| repositories for your user account, upgrade your Docker Hub subscription from your [Billing Information](https://hub.docker.com/billing/plan) page. | ||
|
|
||
| ## Move images between repositories | ||
|
|
||
| ### Personal to personal | ||
|
|
||
| When consolidating personal repositories, you can pull private images from the initial repository and push them into another repository owned by you. To avoid losing your private images, perform the following steps: | ||
|
|
||
| 1. Navigate to [Docker Hub](https://hub.docker.com) create a new Docker ID and select a personal subscription. | ||
| 2. Using `docker login` from the CLI, sign in using your original Docker ID and pull your private images. | ||
| 3. Tag your private images with your newly created Docker ID, for example: | ||
|
|
||
| ```console | ||
| $ docker tag namespace1/docker101tutorial new_namespace/docker101tutorial | ||
| ``` | ||
| 4. Using `docker login` from the CLI, sign in with your newly created Docker ID, and push your newly tagged private images to your new Docker ID namespace: | ||
|
|
||
| ```console | ||
| $ docker push new_namespace/docker101tutorial | ||
| ``` | ||
|
|
||
| The private images that existed in your previous account are now available in your new account. | ||
|
|
||
| ### Personal to an organization | ||
|
|
||
| To avoid losing your private images, you can pull your private images from your personal account and push them to an organization that's owned by you. | ||
|
|
||
| 1. Navigate to [Docker Hub](https://hub.docker.com) and select **Organizations**. | ||
| 2. Select the applicable organization and verify that your user account is a member of the organization. | ||
| 3. Sign in to [Docker Hub](https://hub.docker.com) using your original Docker ID, and pull your images: | ||
|
|
||
| ```console | ||
| $ docker pull namespace1/docker101tutorial | ||
| ``` | ||
| 4. Tag your images with your new organization namespace: | ||
|
|
||
| ```console | ||
| $ docker tag namespace1/docker101tutorial <new_org>/docker101tutorial | ||
| ``` | ||
| 5. Push your newly tagged images to your new org namespace: | ||
|
|
||
| ```console | ||
| $ docker push new_org/docker101tutorial | ||
| ``` | ||
|
|
||
| The private images that existed in your user account are now available for your organization. | ||
|
|
||
| ## Delete a repository | ||
|
|
||
| > [!WARNING] | ||
| > | ||
| > Deleting a repository deletes all the images it contains and its build settings. This action can't be undone. | ||
|
|
||
| 1. Navigate to your repository. | ||
| 2. Select the **Settings** tab. | ||
| 3. Select **Delete repository**. | ||
| 4. Enter the name of your repository to confirm. | ||
| A Docker Hub repository is a collection of container images, enabling you to | ||
| store, manage, and share Docker images publicly or privately. Each repository | ||
| serves as a dedicated space where you can store images associated with a | ||
| particular application, microservice, or project. Content in repositories is | ||
| organized by tags, which represent different versions of the same application, | ||
| allowing users to pull the right version when needed. | ||
|
|
||
| ## Key features and concepts | ||
|
|
||
| - [Repository information](./manage/information.md): Each repository can include a | ||
| description, an overview, and categories to help users understand its purpose | ||
| and usage. Adding clear repository information ensures that others can find | ||
| your images and know how to use them. | ||
|
|
||
| - [Access management](./manage/access.md): Docker Hub repositories offer flexible | ||
| access options. You can make repositories public or private and add | ||
| collaborators. For organizations, teams, roles, and access tokens enable | ||
| fine-grained access, providing security and control at scale. | ||
|
|
||
| - [Image management](./manage/hub-images/_index.md): Repositories support | ||
| various types of content, including OCI artifacts, and provide robust version | ||
| control with tagging. You can push new images and move existing content | ||
| between repositories, ensuring flexibility in managing different versions and | ||
| types of container images. | ||
|
|
||
| - [Webhooks](./manage/webhooks.md): Webhooks let you automate responses to repository | ||
| events. For instance, you can set up notifications or trigger actions in | ||
| external systems whenever an image is pushed or updated, helping to streamline | ||
| workflows. | ||
|
|
||
| - [Automated builds](./manage/builds/_index.md): Docker Hub | ||
| repositories integrate with GitHub or Bitbucket for automated builds, ensuring | ||
| that every code change triggers an image rebuild. This feature supports | ||
| continuous integration and delivery, keeping images up-to-date and | ||
| streamlining development pipelines. | ||
|
|
||
| - [Image security insights](./manage/vulnerability-scanning.md): Docker Hub repositories | ||
| provide powerful features and controls to help uncover, understand, and fix | ||
| issues with container images. Options for image security insights include | ||
| continuous Docker Scout image analysis and static vulnerability scanning. | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.