Skip to content

Commit 5bd5f41

Browse files
authored
Merge branch 'docker:main' into sssc-docker-concepts
2 parents 9d845fd + d94937e commit 5bd5f41

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+179
-246
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/content/manuals/engine/ @dvdksn
2323

24-
/content/manuals/subscription/ @aevesdocker
24+
/content/manuals/subscription/ @sarahsanders-docker
2525

2626
/content/manuals/security/ @aevesdocker
2727

@@ -31,3 +31,9 @@
3131

3232
/content/manuals/registry/ @dvdksn
3333

34+
/content/manuals/admin/ @sarahsanders-docker
35+
36+
/content/manuals/billing/ @sarahsanders-docker
37+
38+
/content/manuals/accounts/ @sarahsanders-docker
39+

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# syntax=docker/dockerfile-upstream:master
1+
# syntax=docker/dockerfile:1
22
# check=skip=InvalidBaseImagePlatform
33

44
# ALPINE_VERSION sets the Alpine Linux version for all Alpine stages
55
ARG ALPINE_VERSION=3.20
66
# GO_VERSION sets the Go version for the base stage
77
ARG GO_VERSION=1.23
8-
# HTML_TEST_VERSION sets the wjdp/htmltest version for HTML testing
8+
# HTMLTEST_VERSION sets the wjdp/htmltest version for HTML testing
99
ARG HTMLTEST_VERSION=0.17.0
1010

1111
# base is the base stage with build dependencies

content/get-started/introduction/develop-with-containers.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,32 +79,25 @@ With this environment up and running, you’re ready to make a few changes to th
7979

8080
The greeting at the top of the page is populated by an API call at `/api/greeting`. Currently, it always returns "Hello world!". You’ll now modify it to return one of three randomized messages (that you'll get to choose).
8181

82-
1. Open the `backend/src/routes/getGreeting.js` file. This file provides the handler for the API endpoint.
82+
1. Open the `backend/src/routes/getGreeting.js` file in a text editor. This file provides the handler for the API endpoint.
8383

84-
2. Modify the variable at the top to an array of greetings. Feel free to use the following modifications or customize it to your own liking.
84+
2. Modify the variable at the top to an array of greetings. Feel free to use the following modifications or customize it to your own liking. Also, update the endpoint to send a random greeting from this list.
8585

86-
```js {linenos=table,hl_lines=["1-5"],linenostart=1}
86+
```js {linenos=table,hl_lines=["1-5",9],linenostart=1}
8787
const GREETINGS = [
8888
"Whalecome!",
8989
"All hands on deck!",
9090
"Charting the course ahead!",
9191
];
9292

93-
module.exports = async (req, res) => {
94-
...
95-
```
96-
97-
3. Now, update the endpoint to send a random greeting from this list by making the following change:
98-
99-
```js {linenos=table,hl_lines=[3],linenostart=7}
10093
module.exports = async (req, res) => {
10194
res.send({
10295
greeting: GREETINGS[ Math.floor( Math.random() * GREETINGS.length )],
10396
});
10497
};
10598
```
10699

107-
4. If you haven't done so yet, save the file. If you refresh your browser, you should see a new greeting. If you keep refreshing, you should see all of the messages appear.
100+
3. If you haven't done so yet, save the file. If you refresh your browser, you should see a new greeting. If you keep refreshing, you should see all of the messages appear.
108101
109102
![Screenshot of the to-do app with a new greeting](images/develop-app-with-greetings.webp)
110103

content/get-started/resources.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Educational resources
33
keywords: get started, setup, orientation, quickstart, intro, concepts, kubernetes,
44
docker desktop
55
description: Get started resources learning docker
6-
aliases:
7-
- /get-started/resources/
86
---
97

108
Docker and the broader community of Docker experts have put together many different ways to get further training and hands-on experience with Docker. Expand your understanding of Docker and Kubernetes with these additional free and paid resources.

content/guides/databases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,4 +696,4 @@ Related information:
696696
- [Dockerfile reference](/reference/dockerfile/)
697697
- [Compose file reference](/reference/compose-file/)
698698
- [CLI reference](/reference/cli/docker/)
699-
- [Database samples](../../samples/_index.md#databases)
699+
- [Database samples](../../reference/samples/_index.md#databases)

content/guides/docker-scout/_index.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,23 @@ params:
2929

3030
When container images are insecure, significant risks can arise. Around 60% of
3131
organizations have reported experiencing at least one security breach or
32-
vulnerability incident within a year, resulting in operational
33-
disruption.[^CSA] These incidents often result in considerable downtime, with
32+
vulnerability incident within a year, [resulting in operational
33+
disruption][CSA]. These incidents often result in considerable downtime, with
3434
44% of affected companies experiencing over an hour of downtime per event. The
35-
financial impact is substantial, with the average data breach cost reaching
36-
$4.45 million.[^IBM] This highlights the critical importance of maintaining
35+
financial impact is substantial, with [the average data breach cost reaching
36+
$4.45 million][IBM]. This highlights the critical importance of maintaining
3737
robust container security measures.
3838

3939
Docker Scout enhances container security by providing automated vulnerability
4040
detection and remediation, addressing insecure container images, and ensuring
4141
compliance with security standards.
4242

43-
[^CSA]: https://cloudsecurityalliance.org/blog/2023/09/21/2023-global-cloud-threat-report-cloud-attacks-are-lightning-fast
44-
45-
[^IBM]: https://www.ibm.com/reports/data-breach
43+
[CSA]: https://cloudsecurityalliance.org/blog/2023/09/21/2023-global-cloud-threat-report-cloud-attacks-are-lightning-fast
44+
[IBM]: https://www.ibm.com/reports/data-breach
4645

4746
## What you'll learn
4847

49-
- Define secure software supply chain (SSSC)
48+
- Define Secure Software Supply Chain (SSSC)
5049
- Review SBOMs and how to use them
5150
- Detect and monitor vulnerabilities
5251

content/guides/docker-scout/demo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Docker Scout demo
3-
description: Learn about Docke rScout's powerful features for enhanced supply chain security.
3+
description: Learn about Docker Scout's powerful features for enhanced supply chain security.
44
weight: 20
55
---
66

content/includes/admin-company-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A company provides a single point of visibility across multiple organizations. This view simplifies the management of Docker organizations and settings. It's available to Docker Business subscribers.
1+
A company provides a single point of visibility across multiple organizations. This view simplifies the management of Docker organizations and settings. Organization owners with a Docker Business subscription can create a company and then manage it through the [Docker Admin Console](https://app.docker.com/admin).
22

33
The following diagram depicts the setup of a company and how it relates to associated organizations.
44

content/includes/admin-early-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
{{% restricted title="Early Access" %}}
55
The Docker Admin Console is an [early access](/release-lifecycle#early-access-ea) product.
66

7-
It's available to all company owners and organization owners. You can still manage companies and organizations in Docker Hub, but the Admin Console includes enhanced features for company-level management.
7+
It's available to all company owners and organization owners. You can still manage organizations in Docker Hub, but the Admin Console includes company-level management and enhanced features for organization management.
88
{{% /restricted %}}

content/manuals/accounts/deactivate-user-account.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ keywords: Docker Hub, delete, deactivate, account, account management
77

88
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).
99

10-
>**Warning**
10+
>[!Warning]
1111
>
1212
> All Docker products and services that use your Docker account will be inaccessible after deactivating your account.
1313
1414
## Prerequisites
1515

1616
Before deactivating your Docker account, ensure that you meet the following requirements:
1717

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-
18+
- For owners, you must leave your organization or company before deactivating your Docker account.
2019
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**.
20+
1. Sign in to the [Docker Admin Console](https://app.docker.com/admin).
21+
2. Select the organization you need to leave from the top-left drop-down menu.
22+
3. Find your username in the **Members** tab.
23+
4. Select the **More options** menu and then select **Leave organization**.
2424

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.
25+
- If you are the sole owner of an organization, you must assign the owner role to another member of the organization 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.
2626

2727
- If you have an active Docker subscription, [downgrade it to a Docker Personal subscription](../subscription/core-subscription/downgrade.md).
2828

@@ -42,8 +42,8 @@ Once you have completed all the previous steps, you can deactivate your account.
4242
>
4343
> This cannot be undone. Be sure you've gathered all the data you need from your account before deactivating it.
4444
45-
1. Sign in to your [Docker account](https://app.docker.com/login).
46-
2. In Docker Home, select your avatar in the top-right corner to open the drop-down.
45+
1. Sign in to [Docker Home](https://app.docker.com/login).
46+
2. Select your avatar to open the drop-down menu.
4747
3. Select **Account settings**.
48-
4. In the **Account management** section, select **Deactivate account** to open to deactivate account page.
48+
4. In the **Account management** section, select **Deactivate account**.
4949
5. To confirm, select **Deactivate account**.

0 commit comments

Comments
 (0)