How do I change my Docker Hub username?
To change your Docker Hub username, make a copy of your existing images, request the new Docker Hub username, and restore your images and Automatic Builds to your new Docker Hub account.
Before requesting a different Docker Hub username:
Download any images (and tags) you wish to keep by running the following command:
docker pull -a <image>
Delete all repositories associated with your account.
If you have an active Docker subscription, downgrade to the free plan.
If you have a license key, download the key from your Docker Hub account. The download link will no longer be available after the rename.
- If you belong to an organization, remove yourself from the organization.
- If you are the sole owner of an organization, either remove yourself from the organization or add someone to the "owners" team and then remove yourself from the organization.
Once you have completed the preparation steps, send an email to firstname.lastname@example.org asking to have your account renamed or open a Customer Service Request using the email address associated with the account and provide the Docker ID of the account you wish to rename.
After your account has been renamed:
docker tagfor all of your images with your new account name.
docker pushfor each of your images to push to your new Docker Hub account.
- If you created any Automated Builds, recreate them on the new account.