|
1 | 1 | --- |
2 | | -description: Convert your Docker Hub user account into an organization |
| 2 | +title: Convert a Docker account to an organization |
3 | 3 | linkTitle: Convert account |
4 | | -title: Convert an account into an organization |
5 | | -keywords: docker hub, hub, organization, convert account, migrate account |
6 | | -weight: 40 |
| 4 | +weight: 20 |
| 5 | +description: >- |
| 6 | + Convert an individual Docker account into an organization. Keep the same |
| 7 | + Docker ID and repository namespace, then assign a new owner for shared |
| 8 | + access. |
| 9 | +keywords: |
| 10 | + - convert Docker account |
| 11 | + - convert account to organization |
| 12 | + - individual account to organization |
| 13 | + - organization owner |
| 14 | + - Docker organization |
| 15 | + - organization namespace |
7 | 16 | aliases: |
8 | 17 | - /admin/organization/setup/convert-account/ |
9 | 18 | - /docker-hub/convert-account/ |
10 | 19 | - /admin/organization/convert-account/ |
| 20 | +toc_max: 3 |
11 | 21 | --- |
12 | 22 |
|
13 | 23 | {{< summary-bar feature_name="Admin orgs" >}} |
14 | 24 |
|
15 | | -Learn how to convert an existing user account into an organization. This is |
16 | | -useful if you need multiple users to access your account and the repositories |
17 | | -it’s connected to. Converting it to an organization gives you better control |
18 | | -over permissions for these users through |
19 | | -[teams](/manuals/accounts/organization/manage/manage-a-team.md) and |
20 | | -[roles](/manuals/security/roles-and-permissions/_index.md). |
21 | | - |
22 | | -When you convert a user account to an organization, the account is migrated to |
23 | | -a Docker Team subscription by default. |
| 25 | +When you convert, your |
| 26 | +[Docker ID](/manuals/accounts/_index.md) becomes an organization instead of |
| 27 | +an individual account. The Docker ID stays the same, so repository |
| 28 | +namespaces and names stay the same. Convert an existing individual account |
| 29 | +into an organization when more than one person needs access to that |
| 30 | +account and its repositories. To choose a new namespace and keep your |
| 31 | +Docker ID as an individual account, see |
| 32 | +[Create a Docker organization](/manuals/accounts/organization/setup/orgs.md). |
| 33 | + |
| 34 | +## Conversion |
| 35 | + |
| 36 | +Converting an account into an organization does the following: |
| 37 | + |
| 38 | +- The account gets a |
| 39 | + [Docker Team](/manuals/subscription-billing/plans/docker.md) |
| 40 | + subscription. If the individual account was on a paid plan, it keeps |
| 41 | + the same billing cycle. |
| 42 | +- Docker signs you out. Your email address is no longer on any Docker |
| 43 | + account. You can [sign up](https://hub.docker.com/signup) with it again |
| 44 | + or update an existing account to use it. |
| 45 | +- Repository collaborators are removed. |
| 46 | + [Invite them to your organization](/manuals/accounts/organization/manage/members.md), |
| 47 | + then add them to a |
| 48 | + [team](/manuals/accounts/organization/manage/manage-a-team.md) |
| 49 | + that has access to the repositories. |
| 50 | +- Existing automated builds appear as if the new owner set them up. |
24 | 51 |
|
25 | 52 | ## Prerequisites |
26 | 53 |
|
27 | | -Before you convert a user account to an organization, ensure that you meet the following requirements: |
| 54 | +Before you convert an individual account to an organization: |
28 | 55 |
|
29 | | -- The user account that you want to convert must not be a member of a company or any teams or organizations. You must remove the account from all teams, organizations, or the company. |
| 56 | +- The individual account must have a verified email address. |
| 57 | +- You need a separate Docker ID to [assign as organization owner](#choose-an-organization-owner). |
| 58 | +- The individual account must not belong to an organization, a team, or a |
| 59 | + company. If it does, you must |
| 60 | + [leave the organization](#leave-an-existing-organization) before you convert. |
30 | 61 |
|
31 | | - To do this: |
32 | | - 1. Navigate to **My Hub** and then select the organization you need to leave. |
33 | | - 1. Find your username in the **Members** tab. |
34 | | - 1. Select the **More options** menu and then select **Leave organization**. |
| 62 | +> [!TIP] |
| 63 | +> |
| 64 | +> After you convert an account, personal access tokens from that account |
| 65 | +> stop working. Sign in as the new owner and create an |
| 66 | +> [organization access token (OAT)](/manuals/security/access-tokens/organization-access-tokens.md) |
| 67 | +> for the converted organization. |
35 | 68 |
|
36 | | - If the user account is the sole owner of any organization or company, assign another user the owner role and then remove yourself from the organization or company. |
| 69 | +### Choose an organization owner |
37 | 70 |
|
38 | | -- You must have a separate Docker ID ready to assign as the owner of the organization during conversion. |
| 71 | +To convert, you must name an owner. That owner has full administrative access |
| 72 | +to configure and manage the organization. You can add more owners after |
| 73 | +conversion. Each owner signs in to a separate individual account, then |
| 74 | +selects the organization in Docker Home. |
39 | 75 |
|
40 | | - If you want to convert your user account into an organization account and you don't have any other user accounts, you need to create a new user account to assign it as the owner of the new organization. With the owner role assigned, this user account has full administrative access to configure and manage the organization. You can assign more users the owner role after the conversion. |
| 76 | +To name someone else as the owner, enter that person's Docker ID during |
| 77 | +conversion. If you still need access after conversion, you must sign up |
| 78 | +again so the new owner can invite you to the organization. |
41 | 79 |
|
42 | | -## What happens when you convert your account |
| 80 | +If you want to remain the sole owner without assigning another owner, you |
| 81 | +must create a second individual account with a different email address. |
| 82 | +Use your new account's Docker ID. |
43 | 83 |
|
44 | | -The following happens when you convert your account into |
45 | | -an organization: |
| 84 | +- For example, if the account you are converting uses `alex@example.com`, |
| 85 | + create the owner account with `alex.admin@example.com`. |
| 86 | +- After conversion, `alex@example.com` is no longer on any Docker account. |
46 | 87 |
|
47 | | -- This process removes the email address for the account. Notifications are |
48 | | - instead sent to organization owners. You'll be able to reuse the |
49 | | - removed email address for another account after converting. |
50 | | -- The current subscription will automatically cancel and your new subscription |
51 | | - will start. |
52 | | -- Repository namespaces and names won't change, but converting your account |
53 | | - removes any repository collaborators. Once you convert the account, you'll need |
54 | | - to add repository collaborators as team members. |
55 | | -- Existing automated builds appear as if they were set up by the first owner |
56 | | - added to the organization. |
57 | | -- The user account that you add as the first owner will have full |
58 | | - administrative access to configure and manage the organization. |
| 88 | +You can update the `alex.admin@example.com` email back to |
| 89 | +`alex@example.com` after conversion. See |
| 90 | +[Update email address](/manuals/accounts/individual/manage-account.md#update-email-address). |
59 | 91 |
|
60 | | -## Convert an account into an organization |
| 92 | +### Leave an existing organization |
61 | 93 |
|
62 | | -> [!IMPORTANT] |
63 | | -> |
64 | | -> Converting an account into an organization is permanent. Back up any data |
65 | | -> or settings you want to retain. |
| 94 | +Use this procedure when the individual account is already a member of an |
| 95 | +organization, a team, or a company. The account can be converted after it |
| 96 | +has left each of them. If it has no memberships, skip this section and |
| 97 | +[convert the account](#convert-to-an-organization). |
66 | 98 |
|
67 | | -1. Sign in to [Docker Home](https://app.docker.com/). |
68 | | -1. Select your avatar in the top-right corner to open the drop-down. |
69 | | -1. From **Account settings**, select **Convert**. |
70 | | -1. Review the warning displayed about converting a user account. This action |
71 | | - cannot be undone and has considerable implications for your assets and the |
72 | | - account. |
73 | | -1. Enter a **Username of new owner** to set an organization owner. The new |
74 | | - Docker ID you specify becomes the organization’s owner. You cannot use the |
75 | | - same Docker ID as the account you are trying to convert. The Docker ID is |
76 | | - case-sensitive. |
77 | | -1. Select **Confirm**. The new owner receives a notification email. Use that |
78 | | - owner account to sign in and manage the new organization. |
| 99 | +If the account is the only owner of an organization or company, assign |
| 100 | +the owner role to another member first. Leave after that member can |
| 101 | +administer the organization or company. |
79 | 102 |
|
80 | | -> [!TIP] |
81 | | -> |
82 | | -> After you convert an account, existing personal access tokens from that |
83 | | -> account no longer work. Sign in as the new owner and create an |
84 | | -> [organization access token (OAT)](/manuals/security/access-tokens/organization-access-tokens.md) |
85 | | -> for the converted organization. |
| 103 | +To leave an organization and its teams: |
| 104 | + |
| 105 | +1. Sign in to [Docker Home](https://app.docker.com/) and select the |
| 106 | + organization. |
| 107 | +1. Select **Members** and find your username. |
| 108 | +1. Select the **Actions** menu, then **Leave organization**. |
| 109 | + |
| 110 | +## Convert to an organization |
| 111 | + |
| 112 | +Converting an account into an organization is permanent. Back up any data |
| 113 | +or settings you want to keep. |
| 114 | + |
| 115 | +1. Sign in to [Docker Home](https://app.docker.com/). |
| 116 | +1. Select your avatar in the top-right corner. |
| 117 | +1. Select **Account settings**, then **Convert**. |
| 118 | +1. Review the warning. You can't undo this action. |
| 119 | +1. Enter the **Username of new owner**. |
| 120 | + Enter a Docker ID, not an email address. Use 4 to 30 letters and |
| 121 | + digits. The Docker ID must belong to a different account from the one |
| 122 | + you are converting. That account must be active and have a verified |
| 123 | + email address. |
| 124 | +1. Select **Confirm**. For an account on a Pro plan, the button is |
| 125 | + **Confirm and purchase**. |
| 126 | + The new owner receives a notification email. Sign in with that account |
| 127 | + to manage the organization. |
| 128 | + |
| 129 | +## Next steps |
| 130 | + |
| 131 | +- [Onboard your organization](/manuals/accounts/organization/setup/onboard.md) |
| 132 | +- [Create an organization access token](/manuals/security/access-tokens/organization-access-tokens.md) |
0 commit comments