Skip to content

Commit 37e129a

Browse files
Add account section and update settings and security (docker#20350)
* add account section and update admin pages * update hub build and security sections * update toc * Update content/accounts/_index.md * Update .github/labeler.yml --------- Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
1 parent 3e38e62 commit 37e129a

File tree

18 files changed

+255
-96
lines changed

18 files changed

+255
-96
lines changed

.github/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ area/storage:
124124
- any-glob-to-any-file:
125125
- content/storage/**
126126

127+
area/accounts:
128+
- changed-files:
129+
- any-glob-to-any-file:
130+
- content/accounts/**
131+
127132
hugo:
128133
- changed-files:
129134
- any-glob-to-any-file:

.github/vale/config/vocabularies/Docker/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Git
6060
GitHub( Actions)?
6161
Google
6262
Grafana
63+
Gravatar
6364
HTTP
6465
HyperKit
6566
IPs?

content/accounts/_index.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
description: Learn how to create and manage your Docker account.
3+
keywords: accounts, docker ID, account management, account settings, docker account, docker home
4+
title: Docker account overview
5+
grid:
6+
- title: Create a Docker ID
7+
description: Get started with Docker and create an account.
8+
icon: fingerprint
9+
link: /docker-id/
10+
- title: Manage account
11+
description: Learn how to manage the settings for your account.
12+
icon: manage_accounts
13+
link: /accounts/manage-account/
14+
- title: Account FAQ
15+
description: Explore popular FAQ topics about organizations.
16+
icon: help
17+
link: /faq/admin/general-faqs/
18+
- title: Personal access tokens
19+
description: Learn how to create and manage access tokens for your account.
20+
icon: password
21+
link: /security/for-developers/access-tokens/
22+
- title: Set up two-factor authentication
23+
description: Add an extra layer of authentication to your Docker account.
24+
link: /security/for-developers/2fa/
25+
icon: phonelink_lock
26+
---
27+
28+
You can create a Docker account to secure a Docker ID, which is a username for your account that lets you access Docker products. You can use your Docker account to sign in to Docker products like Docker Hub, Docker Desktop, or Docker Scout. You can centrally manage your [Docker account settings](https://app.docker.com/settings), as well as account security features, in [Docker Home](https://app.docker.com).
29+
30+
In this section, explore how you can create, manage, or update your account.
31+
32+
{{< grid >}}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Deactivating a user account
3+
description: Learn how to deactivate a Docker user account.
4+
keywords: Docker Hub, delete, deactivate, account, account management
5+
---
6+
7+
You can deactivate an account at any time. This section describes the prerequisites and steps to deactivate a user account. For information on deactivating an organization, see [Deactivating an organization](../admin/deactivate-account.md).
8+
9+
>**Warning**
10+
>
11+
> All Docker products and services that use your Docker account will be inaccessible after deactivating your account.
12+
{ .warning }
13+
14+
## Prerequisites
15+
16+
Before deactivating your Docker account, ensure that you meet the following requirements:
17+
18+
- You 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.
19+
20+
To do this:
21+
1. Navigate to **Organizations** and then select the organization(s) you need to leave.
22+
2. Find your username in the **Members** tab.
23+
3. Select the **More options** menu and then select **Leave organization**.
24+
25+
- If you are the sole owner of an organization, either assign another member of the organization the owner role and then remove yourself from the organization, or deactivate the organization. Similarly, if you are the sole owner of a company, either add someone else as a company owner and then remove yourself, or deactivate the company.
26+
27+
- If you have an active Docker subscription, [downgrade it to a Docker Personal subscription](../subscription/core-subscription/downgrade.md).
28+
29+
- If you have an active Docker Build Cloud Paid subscription, [downgrade it to a Docker Build Cloud Starter subscription](../billing/build-billing.md#downgrade-your-subscription).
30+
31+
- If you have an active Docker Scout subscription, [downgrade it to a Docker Scout Free subscription](../billing/scout-billing.md#downgrade-your-subscription).
32+
33+
- Download any images and tags you want to keep. Use `docker pull -a <image>:<tag>`.
34+
35+
- Unlink your [GitHub and Bitbucket accounts](../docker-hub/builds/link-source.md#unlink-a-github-user-account).
36+
37+
## Deactivate
38+
39+
Once you have completed all the previous steps, you can deactivate your account.
40+
41+
> **Warning**
42+
>
43+
> This cannot be undone. Be sure you've gathered all the data you need from your account before deactivating it.
44+
{ .warning }
45+
46+
1. Sign in to your [Docker account](https://app.docker.com/login).
47+
2. In Docker Home, select your avatar in the top-right corner to open the drop-down.
48+
3. Select **Account settings**.
49+
4. In the **Account management** section, select **Deactivate account** to open to deactivate account page.
50+
5. To confirm, select **Deactivate account**.

content/accounts/manage-account.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
description: Learn how to manage settings for your Docker account.
3+
keywords: accounts, docker ID, account settings, account management, docker home
4+
title: Manage your Docker account
5+
---
6+
7+
You can centrally manage the settings for your Docker account. Here you can also take administrative actions for your account and manage your account security.
8+
9+
> **Tip**
10+
>
11+
> If your account is associated with an organization that enforces single sign-on (SSO), you may not have permissions to update your account settings. You need to contact your administrator to update your settings.
12+
{ .tip }
13+
14+
## Update general settings
15+
16+
1. Sign in to your [Docker account](https://account.docker.com/login).
17+
2. In Docker Home, select your avatar in the top-right corner to open the drop-down.
18+
3. Select **Account settings**.
19+
20+
From here, you can take any of the following actions.
21+
22+
### Update account information
23+
24+
To update your account information, select the arrow icon. You can edit the following settings here:
25+
26+
- Full name
27+
- Company
28+
- Location
29+
- Website
30+
- Gravatar email
31+
32+
This information is visible on your account profile in Docker Hub.
33+
34+
Make your changes here, then select **Save** to save your settings.
35+
36+
### Update email address
37+
38+
To update your email address, select the arrow icon.
39+
40+
1. Enter your new email address.
41+
2. Enter your password to confirm the change.
42+
3. Select **Send verification email** to send a verification email to your new email address.
43+
44+
Once you verify your email address, your account information will update.
45+
46+
### Change your password
47+
48+
You can change your password by initiating a password reset via email.
49+
50+
To change your password, select **Reset password**.
51+
52+
Follow the instructions in the password reset email.
53+
54+
## Manage security settings
55+
56+
You can manage the security settings for your account in Docker Home.
57+
58+
For information on two-factor authentication (2FA) for your account, see [Enable two-factor authentication](../security/for-developers/2fa/_index.md) to get started.
59+
60+
For information on personal access tokens (PAT), see [Create and manage access tokens](../security/for-developers/access-tokens.md).
61+
62+
## Account management
63+
64+
You can take administrative actions for your account in Docker Home.
65+
66+
For more information on converting your account, see [Convert an account into an organization](../admin/convert-account.md).
67+
68+
For information on deactivating your account, see [Deactivating a user account](./deactivate-user-account.md).

content/admin/convert-account.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,16 @@ Consider the following effects of converting your account:
5050

5151
1. Ensure you have removed your user account from any company or teams or organizations. Also make sure that you have a new Docker ID before you convert an account. See the [Prerequisites](#prerequisites) section for details.
5252

53-
2. In the top-right of Docker Hub, select your account name and then from the drop-down menu, select **Account settings**.
53+
2. Sign in to your [Docker account](https://app.docker.com/login).
5454

55-
3. From the **Convert Account** tab, select **Convert to Organization**.
55+
3. In Docker Home, select your avatar in the top-right corner to open the drop-down.
5656

57-
4. Review the warning displayed about converting a user account. This action cannot be undone and has considerable implications for your assets and the account.
57+
4. Select **Account settings**.
5858

59-
5. Enter a **Docker ID** to set an organization owner. This is the user account that will manage the organization, and the only way to access the organization settings after conversion. You cannot use the same Docker ID as the account you are trying to convert.
59+
5. In the **Account management** section, select **Convert account**.
6060

61-
6. Select **Convert and Purchase** to confirm. The new owner receives a notification email. Use that owner account to sign in to your new organization.
61+
6. Review the warning displayed about converting a user account. This action cannot be undone and has considerable implications for your assets and the account.
62+
63+
7. Enter a **Docker ID** to set an organization owner. This is the user account that will manage the organization, and the only way to access the organization settings after conversion. You cannot use the same Docker ID as the account you are trying to convert.
64+
65+
8. Select **Confirm and purchase** to confirm. The new owner receives a notification email. Use that owner account to sign in and manage the new organization.

content/admin/deactivate-account.md

Lines changed: 10 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,39 @@
11
---
2-
title: Deactivating an account or an organization
3-
description: Learn how to deactivate a Docker Hub account or an organization
4-
keywords: Docker Hub, delete, deactivate, account, organization
2+
title: Deactivating an organization
3+
description: Learn how to deactivate a Docker organization.
4+
keywords: Docker Hub, delete, deactivate organization, account, organization management
55
aliases:
66
- /docker-hub/deactivate-account/
77
---
88

9-
You can deactivate an account at any time.
9+
You can deactivate an account at any time. This section describes the prerequisites and steps to deactivate an organization account. For information on deactivating a user account, see [Deactivate a user account](../accounts/deactivate-user-account.md).
1010

1111
>**Warning**
1212
>
1313
> All Docker products and services that use your Docker account or organization account will be inaccessible after deactivating your account.
1414
{ .warning }
1515

16-
## Deactivate a user account
17-
18-
### Prerequisites
19-
20-
Before deactivating your Docker account, ensure that you meet the following requirements:
21-
22-
- You 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.
23-
24-
To do this:
25-
1. Navigate to **Organizations** and then select the organization(s) you need to leave.
26-
2. Find your username in the **Members** tab.
27-
3. Select the **More options** menu and then select **Leave organization**.
28-
29-
- If you are the sole owner of an organization, either assign another member of the organization the owner role and then remove yourself from the organization, or deactivate the organization. Similarly, if you are the sole owner of a company, either add someone else as a company owner and then remove yourself, or deactivate the company.
30-
31-
- If you have an active Docker subscription, [downgrade it to a Docker Personal subscription](../subscription/core-subscription/downgrade.md).
32-
33-
- If you have an active Docker Build Cloud Team subscription, [downgrade it to a Docker Build Cloud Starter subscription](../billing/build-billing.md#downgrade-your-subscription).
34-
35-
- If you have an active Docker Scout subscription, [downgrade it to a Docker Scout Free subscription](../billing/scout-billing.md#downgrade-your-subscription).
36-
37-
- Download any images and tags you want to keep. Use `docker pull -a <image>:<tag>`.
38-
39-
- Unlink your [Github and Bitbucket accounts](../docker-hub/builds/link-source.md#unlink-a-github-user-account).
40-
41-
### Deactivate
42-
43-
Once you have completed all the steps above, you can deactivate your account.
44-
45-
1. Select your account name in the top-right of Docker Hub and from the drop-down menu, select **Account settings**.
46-
2. From the **Deactivate Account** tab, select **Deactivate account**.
47-
48-
> This cannot be undone. Be sure you've gathered all the data you need from your account before deactivating it.
49-
{ .warning }
50-
51-
52-
## Deactivate an organization
16+
## Prerequisites
5317

5418
Before deactivating an organization, complete the following:
5519

5620
- Download any images and tags you want to keep:
5721
`docker pull -a <image>:<tag>`.
5822

59-
- If you have an active Docker subscription, [downgrade it to a **Docker Free Team** subscription](../subscription/core-subscription/downgrade.md).
23+
- If you have an active Docker subscription, [downgrade it to a free subscription](../subscription/core-subscription/downgrade.md).
6024

6125
- If you have an active Docker Scout subscription, [downgrade it to a Docker Scout Free subscription](../billing/scout-billing.md#downgrade-your-subscription).
6226

6327
- Remove all other members within the organization.
6428

6529
- Unlink your [Github and Bitbucket accounts](../docker-hub/builds/link-source.md#unlink-a-github-user-account).
6630

67-
### Deactivate
31+
## Deactivate
6832

69-
Once you have completed all the previous the steps, you can deactivate your organization.
33+
Once you have completed all the previous steps, you can deactivate your organization.
7034

35+
> **Warning**
36+
>
7137
> This cannot be undone. Be sure you've gathered all the data you need from your organization before deactivating it.
7238
{ .warning }
7339

content/admin/faqs/general-faqs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ A [service account](../../docker-hub/service-accounts.md) is a Docker ID used fo
7171
Only someone with access to the Docker account can deactivate the account. For more details, see [Deactivating an account](../../admin/deactivate-account.md).
7272

7373
If the user is a member of your organization, you can remove the user from your organization. For more details, see [Remove a member or invitee](../../admin/organization/members.md#remove-a-member-from-a-team).
74+
75+
### How do I manage settings for a user account?
76+
77+
You can manage your account settings any time when you sign in to your [Docker account](https://app.docker.com/login). In Docker Home, select your avatar in the top-right navigation, then select **My Account**. You can also access this menu from any Docker web applications when you're signed in to your account. See [Manage your Docker account](/accounts/manage-account). If your account is associated with an organization that uses SSO, you may have limited access to the settings that you can control.

content/docker-hub/builds/link-source.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ If you are linking a source code provider to create autobuilds for a team, follo
2525

2626
1. Sign in to Docker Hub.
2727

28-
2. Select **Account settings** in the top-right drop-down navigation, then select the **Linked Accounts** tab.
28+
2. Select the **Settings** icon in the top-right navigation, then select **Repository Settings**.
2929

30-
3. Select **Link provider** for the source provider you want to link.
30+
![Repository settings menu](../images/docker-hub-repo-settings-menu.png)
31+
32+
33+
3. From the **Linked accounts** tab, select **Link provider** for the source provider you want to link.
3134

3235
If you want to unlink your current GitHub account and relink to a new GitHub account, make sure to completely sign out of [GitHub](https://github.com/) before linking via Docker Hub.
3336

@@ -97,10 +100,9 @@ To revoke Docker Hub's access to an organization's GitHub repositories:
97100
To revoke Docker Hub's access to your GitHub account, you must unlink it both
98101
from Docker Hub, and from your GitHub account.
99102

100-
1. Select **Account settings** in the top-right drop-down navigation, then open
101-
the **Linked Accounts** section.
103+
1. Select the **Settings** icon in the top-right navigation, then select **Repository Settings**.
102104

103-
2. Select the plug icon next to the source provider you want to remove.
105+
2. From the **Linked accounts** tab, select the plug icon next to the source provider you want to remove.
104106

105107
3. Go to your GitHub account's **Settings** page.
106108

@@ -119,9 +121,9 @@ code provider.
119121

120122
1. Sign in to Docker Hub using your Docker ID.
121123

122-
2. Select **Account settings** in the top-right drop-down navigation, then select the **Linked Accounts** tab.
124+
2. Select the **Settings** icon in the top-right navigation, then select **Repository Settings**.
123125

124-
3. Select **Link provider** for the source provider you want to link.
126+
3. From the **Linked accounts** tab, select **Link provider** for the source provider you want to link.
125127

126128
4. If necessary, sign in to Bitbucket.
127129

@@ -135,10 +137,9 @@ unlink it both from Docker Hub, and from your Bitbucket account.
135137

136138
1. Sign in to Docker Hub.
137139

138-
2. Select **Account settings** in the top-right drop-down navigation, then open
139-
the **Linked Accounts** section.
140+
2. Select the **Settings** icon in the top-right navigation, then select **Repository Settings**.
140141

141-
3. Select the **Plug** icon next to the source provider you want to remove.
142+
3. From the **Linked accounts** tab, select the **Plug** icon next to the source provider you want to remove.
142143

143144
4. Go to your Bitbucket account and navigate to **Bitbucket settings**.
144145

Loading

0 commit comments

Comments
 (0)