Skip to content

Commit 420a851

Browse files
authored
Merge pull request #21021 from docker/published-update
publish updates from main
2 parents 266d645 + 82acbd8 commit 420a851

File tree

25 files changed

+210
-152
lines changed

25 files changed

+210
-152
lines changed

.vale.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ MinAlertLevel = suggestion
33

44
Vocab = Docker
55

6-
Packages = Hugo
7-
86
[*.md]
97
BasedOnStyles = Vale, Docker
8+
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
9+
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
10+
(\[.+\]\({{< .+ >}}\)), \
11+
[^\S\r\n]({{[%<] \w+ .+ [%>]}})\s, \
12+
[^\S\r\n]({{[%<](?:/\*) .* (?:\*/)[%>]}})\s, \
13+
(?sm)({{[%<] .*?\s[%>]}})
14+
15+
# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
16+
BlockIgnores = (?sm)^({{[%<] \w+ [^{]*?\s[%>]}})\n$, \
17+
(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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
7-
ARG GO_VERSION=1.22
7+
ARG GO_VERSION=1.23
88
# HTML_TEST_VERSION sets the wjdp/htmltest version for HTML testing
99
ARG HTMLTEST_VERSION=0.17.0
1010

@@ -21,7 +21,7 @@ RUN npm install
2121

2222
# hugo downloads and extracts the Hugo binary
2323
FROM base AS hugo
24-
ARG HUGO_VERSION=0.132.0
24+
ARG HUGO_VERSION=0.134.3
2525
ARG TARGETARCH
2626
WORKDIR /tmp/hugo
2727
RUN wget -O "hugo.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${TARGETARCH}.tar.gz"
@@ -45,7 +45,7 @@ ARG DOCS_URL
4545
RUN hugo --gc --minify -d /out -e $HUGO_ENV -b $DOCS_URL
4646

4747
# lint lints markdown files
48-
FROM davidanson/markdownlint-cli2:v0.13.0 AS lint
48+
FROM davidanson/markdownlint-cli2:v0.14.0 AS lint
4949
USER root
5050
RUN --mount=type=bind,target=. \
5151
/usr/local/bin/markdownlint-cli2 \
@@ -123,7 +123,7 @@ EOT
123123

124124
# pagefind installs the Pagefind runtime
125125
FROM base AS pagefind
126-
ARG PAGEFIND_VERSION=1.1.0
126+
ARG PAGEFIND_VERSION=1.1.1
127127
COPY --from=build /out ./public
128128
RUN --mount=type=bind,src=pagefind.yml,target=pagefind.yml \
129129
npx pagefind@v${PAGEFIND_VERSION} --output-path "/pagefind"

_vale/Docker/Acronyms.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms
44
level: warning
55
ignorecase: false
66
# Ensures that the existence of 'first' implies the existence of 'second'.
7-
first: '\b[^!]([A-Z]{3,5})\b'
8-
second: '(?:\b[A-Za-z]+(?: |\n))+\(([A-Z]{3,5})\)'
7+
first: '\b([A-Z]{3,5})\b'
8+
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
99
# ... with the exception of these:
1010
exceptions:
1111
- API
1212
- ARM
1313
- ASP
14+
- AUFS
1415
- AWS
1516
- BIOS
1617
- CLI
@@ -45,6 +46,7 @@ exceptions:
4546
- LESS
4647
- LLDB
4748
- NET
49+
- NFS
4850
- NOTE
4951
- NVDA
5052
- OSS
@@ -62,16 +64,19 @@ exceptions:
6264
- SCSS
6365
- SDK
6466
- SQL
67+
- SSD
6568
- SSH
6669
- SSL
6770
- SVG
6871
- TBD
6972
- TCP
73+
- TIP
7074
- TODO
7175
- TTY
7276
- URI
7377
- URL
7478
- USB
79+
- USD
7580
- UTF
7681
- VAT
7782
- WSL

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
A?GPL(v3)?
22
APIs?
33
ARM
4-
Netplan
54
AWS
65
Admin Console
76
Amazon
@@ -12,6 +11,7 @@ Artifactory
1211
Autobuild
1312
Autotest
1413
Azure
14+
Btrfs
1515
BuildKit
1616
BusyBox
1717
CISA
@@ -35,7 +35,6 @@ Ddosify
3535
Debootstrap
3636
Dev Environments?
3737
Django
38-
Docker's
3938
Docker Build Cloud
4039
Docker Business
4140
Docker Dasboard
@@ -45,6 +44,7 @@ Docker Extension
4544
Docker Hub
4645
Docker Scout
4746
Docker Team
47+
Docker's
4848
Docker-Sponsored Open Source
4949
Dockerfile
5050
Dockerize
@@ -83,6 +83,7 @@ Mail(chimp|gun)
8383
Microsoft
8484
MySQL
8585
NAT
86+
Netplan
8687
Nginx
8788
Nuxeo
8889
OAuth
@@ -176,6 +177,7 @@ npm
176177
osquery
177178
osxfs
178179
runc
180+
snapshotters?
179181
stdin
180182
stdout
181183
subnet

_vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# github.com/moby/moby v27.3.1+incompatible
22
# github.com/moby/buildkit v0.16.0
3-
# github.com/docker/buildx v0.17.0
3+
# github.com/docker/buildx v0.17.1
44
# github.com/docker/cli v27.3.1+incompatible
55
# github.com/docker/compose/v2 v2.29.6
66
# github.com/docker/scout-cli v1.13.0

content/contribute/components/icons.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ grid:
5757
icon: "database"
5858
description: Icon name = database
5959
- title: "logs"
60-
icon: "feed"
61-
description: Icon name = feed
60+
icon: "text_snippet"
61+
description: Icon name = text_snippet
6262
- title: "Prune/cut"
63-
icon: "cut"
64-
description: Icon name = cut
63+
icon: "content_cut"
64+
description: Icon name = content_cut
6565
- title: "Configure"
6666
icon: "tune"
6767
description: Icon name = tune

content/get-started/docker-concepts/building-images/multi-stage-builds.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
7575

7676
```plaintext
7777
spring-boot-docker
78-
├── Dockerfile
79-
├── Dockerfile.multi
8078
├── HELP.md
8179
├── mvnw
8280
├── mvnw.cmd
@@ -86,7 +84,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
8684
│ ├── java
8785
│ │ └── com
8886
│ │ └── example
89-
│ │ └── springbootdocker
87+
│ │ └── spring_boot_docker
9088
│ │ └── SpringBootDockerApplication.java
9189
│ └── resources
9290
│ ├── application.properties
@@ -96,10 +94,10 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
9694
└── java
9795
└── com
9896
└── example
99-
└── springbootdocker
97+
└── spring_boot_docker
10098
└── SpringBootDockerApplicationTests.java
10199
102-
15 directories, 9 files
100+
15 directories, 7 files
103101
```
104102
105103
The `src/main/java` directory contains your project's source code, the `src/test/java` directory
@@ -112,12 +110,12 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
112110
4. Create a RESTful web service that displays "Hello World!".
113111
114112
115-
Under the `src/main/java/com/example/springbootdocker/` directory, you can modify your
113+
Under the `src/main/java/com/example/spring_boot_docker/` directory, you can modify your
116114
`SpringBootDockerApplication.java` file with the following content:
117115
118116
119117
```java
120-
package com.example.springbootdocker;
118+
package com.example.spring_boot_docker;
121119
122120
import org.springframework.boot.SpringApplication;
123121
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -141,7 +139,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
141139
}
142140
```
143141
144-
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.springbootdocker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
142+
The `SpringbootDockerApplication.java` file starts by declaring your `com.example.spring_boot_docker` package and importing necessary Spring frameworks. This Java file creates a simple Spring Boot web application that responds with "Hello World" when a user visits its homepage.
145143
146144
147145
### Create the Dockerfile
@@ -238,20 +236,21 @@ Now that you have the project, you’re ready to create the `Dockerfile`.
238236
You'll then see output similar to the following in the container log:
239237
240238
```plaintext
241-
[INFO] --- spring-boot:3.3.0-M3:run (default-cli) @ spring-boot-docker ---
239+
[INFO] --- spring-boot:3.3.4:run (default-cli) @ spring-boot-docker ---
242240
[INFO] Attaching agents: []
243-
. ____ _ __ _ _
244-
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
245-
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
246-
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
247-
' |____| .__|_| |_|_| |_\__, | / / / /
248-
=========|_|==============|___/=/_/_/_/
249-
250-
:: Spring Boot :: (v3.3.0-M3)
251-
252-
2024-04-04T15:36:47.202Z INFO 42 --- [spring-boot-docker] [ main]
253-
c.e.s.SpringBootDockerApplication : Starting SpringBootDockerApplication using Java
254-
21.0.2 with PID 42 (/app/target/classes started by root in /app)
241+
242+
. ____ _ __ _ _
243+
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
244+
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
245+
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
246+
' |____| .__|_| |_|_| |_\__, | / / / /
247+
=========|_|==============|___/=/_/_/_/
248+
249+
:: Spring Boot :: (v3.3.4)
250+
251+
2024-09-29T23:54:07.157Z INFO 159 --- [spring-boot-docker] [ main]
252+
c.e.s.SpringBootDockerApplication : Starting SpringBootDockerApplication using Java
253+
21.0.2 with PID 159 (/app/target/classes started by root in /app)
255254
….
256255
```
257256

content/get-started/workshop/08_using_compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In the `getting-started-app` directory, create a file named `compose.yaml`.
3636

3737
## Define the app service
3838

39-
In [part 7](./07_multi_container.md), you used the following command to start the application service.
39+
In [part 6](./07_multi_container.md), you used the following command to start the application service.
4040

4141
```console
4242
$ docker run -dp 127.0.0.1:3000:3000 \

content/manuals/admin/organization/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ grid:
1515
link: /admin/organization/members/
1616
- title: Activity logs
1717
description: Learn how to audit the activities of your members.
18-
icon: feed
18+
icon: text_snippet
1919
link: /admin/organization/activity-logs/
2020
- title: Image Access Management
2121
description: Control which types of images your developers can pull.

content/manuals/desktop/install/msi/faq.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,35 @@ You can suppress reboots by using the `/norestart` option when launching the ins
4242
```powershell
4343
msiexec /i "DockerDesktop.msi" /L*V ".\msi.log" /norestart
4444
```
45+
46+
### Why isn't the `docker-users` group populated when the MSI is installed with Intune or another MDM solution?
47+
48+
It's common for MDM solutions to install applications in the context of the system account. This means that the `docker-users` group isn't populated with the user's account, as the system account doesn't have access to the user's context.
49+
50+
As an example, you can reproduce this by running the installer with `psexec` in an elevated command prompt:
51+
52+
```powershell
53+
psexec -i -s msiexec /i "DockerDesktop.msi"
54+
```
55+
The installation should complete successfully, but the `docker-users` group won't be populated.
56+
57+
As a workaround, you can create a script that runs in the context of the user account.
58+
59+
The script would be responsible for creating the `docker-users` group and populating it with the correct user.
60+
61+
Here's an example script that creates the `docker-users` group and adds the current user to it (requirements may vary depending on environment):
62+
63+
```powershell
64+
$Group = "docker-users"
65+
$CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name
66+
67+
# Create the group
68+
New-LocalGroup -Name $Group
69+
70+
# Add the user to the group
71+
Add-LocalGroupMember -Group $Group -Member $CurrentUser
72+
```
73+
74+
> [!NOTE]
75+
>
76+
> After adding a new user to the `docker-users` group, the user must sign out and then sign back in for the changes to take effect.

0 commit comments

Comments
 (0)