To change your Docker username, make a copy of your existing images, deactivate your old username, create a new Docker username, and restore your images and Automatic Builds to your new Docker account.
Before deactivating your old username:
- Download any images (and tags) you wish to keep by running the following command:
docker pull -a <image>
- If you have a license key, download the key from your Docker 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.
- Unlink your GitHub and Bitbucket accounts.
Once you've completed the steps above:
- Go to your Docker account settings.
- Scroll to the bottom of the page.
- Click the red "deactivate account" button to deactivate your Docker account.
Docker Support will deactivate your account, remove the associated email addresses, and notify you when you can create a new account. Once your email address has been removed from the old account, you may then proceed with creating a new account using that email address.
After creating your new account, you can restore images and add additional email addresses to the account.
docker tagfor all of your images with your new account name.
docker pushfor each of your images to push to your new Docker account.
- If you created any Automated Builds, recreate them on the new account.
- Add any additional email addresses to the account.