Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
26f3556
update link wording
craig-osterhout Sep 26, 2024
02e3b7b
chore(scout): Document CUPS CVEs in high-profile vuln policy
felipecruz91 Sep 27, 2024
ab3b346
deps: update pagefind to v1.1.1
dvdksn Sep 27, 2024
55e5c95
deps(dev): update markdownlint@0.35.0, markdownlint-cli2@0.14.0
dvdksn Sep 27, 2024
d3b966e
deps: update material-symbols icons to v0.23.0
dvdksn Sep 27, 2024
a9179a5
deps: update @floating-ui/dom to v1.6.11
dvdksn Sep 27, 2024
31c573c
deps: update autoprefixer to v10.4.20
dvdksn Sep 27, 2024
a5d0beb
deps: update postcss to v8.4.47
dvdksn Sep 27, 2024
0b30dbd
deps: update tailwindcss to v3.4.13
dvdksn Sep 27, 2024
cac579e
deps(dev): update prettier-plugin-tailwindcss to v0.6.8
dvdksn Sep 27, 2024
79ea6e6
deps: update hugo to v0.134.3
dvdksn Sep 27, 2024
ae74c20
deps: update go to v1.23
dvdksn Sep 27, 2024
183b0dc
vale: improve ignores for hugo markup
dvdksn Sep 27, 2024
3cbec0b
vale: fix TLA detection for Acronyms rule
dvdksn Sep 27, 2024
7ae8e30
Merge pull request #21011 from craig-osterhout/hotjar-8903
usha-mandya Sep 27, 2024
a634846
vale: add some common TLAs
dvdksn Sep 27, 2024
564705b
vale: ignore "TIP" TLA (because it's used in "tip" alerts)
dvdksn Sep 27, 2024
6eae55d
chore: fix some lint warnings in devicemapper docs
dvdksn Sep 27, 2024
ed52f03
vale: add snapshotter(s) to vocabulary
dvdksn Sep 27, 2024
7a8b36e
chore: sort vocabulary accept.txt
dvdksn Sep 27, 2024
e6af352
vale: add Btrfs to vocabulary
dvdksn Sep 27, 2024
2966d9d
vendor: github.com/docker/buildx v0.17.1
crazy-max Sep 13, 2024
099d2bf
Merge pull request #20892 from docker-tools-robot/dispatch/buildx-ref…
dvdksn Sep 27, 2024
fbacec6
update shown contents of Spring project
kevinAlbs Sep 29, 2024
acb62e7
fix references of `springbootdocker`
kevinAlbs Sep 29, 2024
3c5df97
update rendered output
kevinAlbs Sep 29, 2024
29eff6b
Merge pull request #21022 from dvdksn/chorework-24q3
dvdksn Sep 30, 2024
f8acdfd
Merge pull request #21027 from kevinAlbs/update-multi-stage-docs
dvdksn Sep 30, 2024
365dac4
msi: FAQ for MDM installs (#21024)
chelnak Sep 30, 2024
d355d22
scout: "CVEs to avoid" → "Excluded CVEs"
dvdksn Sep 30, 2024
82acbd8
Merge pull request #21020 from felipecruz91/cups-cves
dvdksn Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ MinAlertLevel = suggestion

Vocab = Docker

Packages = Hugo

[*.md]
BasedOnStyles = Vale, Docker
# Exclude `{{< ... >}}`, `{{% ... %}}`, [Who]({{< ... >}})
TokenIgnores = ({{[%<] .* [%>]}}.*?{{[%<] ?/.* [%>]}}), \
(\[.+\]\({{< .+ >}}\)), \
[^\S\r\n]({{[%<] \w+ .+ [%>]}})\s, \
[^\S\r\n]({{[%<](?:/\*) .* (?:\*/)[%>]}})\s, \
(?sm)({{[%<] .*?\s[%>]}})

# Exclude `{{< myshortcode `This is some <b>HTML</b>, ... >}}`
BlockIgnores = (?sm)^({{[%<] \w+ [^{]*?\s[%>]}})\n$, \
(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ALPINE_VERSION sets the Alpine Linux version for all Alpine stages
ARG ALPINE_VERSION=3.20
# GO_VERSION sets the Go version for the base stage
ARG GO_VERSION=1.22
ARG GO_VERSION=1.23
# HTML_TEST_VERSION sets the wjdp/htmltest version for HTML testing
ARG HTMLTEST_VERSION=0.17.0

Expand All @@ -21,7 +21,7 @@ RUN npm install

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

# lint lints markdown files
FROM davidanson/markdownlint-cli2:v0.13.0 AS lint
FROM davidanson/markdownlint-cli2:v0.14.0 AS lint
USER root
RUN --mount=type=bind,target=. \
/usr/local/bin/markdownlint-cli2 \
Expand Down Expand Up @@ -123,7 +123,7 @@ EOT

# pagefind installs the Pagefind runtime
FROM base AS pagefind
ARG PAGEFIND_VERSION=1.1.0
ARG PAGEFIND_VERSION=1.1.1
COPY --from=build /out ./public
RUN --mount=type=bind,src=pagefind.yml,target=pagefind.yml \
npx pagefind@v${PAGEFIND_VERSION} --output-path "/pagefind"
Expand Down
9 changes: 7 additions & 2 deletions _vale/Docker/Acronyms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms
level: warning
ignorecase: false
# Ensures that the existence of 'first' implies the existence of 'second'.
first: '\b[^!]([A-Z]{3,5})\b'
second: '(?:\b[A-Za-z]+(?: |\n))+\(([A-Z]{3,5})\)'
first: '\b([A-Z]{3,5})\b'
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
# ... with the exception of these:
exceptions:
- API
- ARM
- ASP
- AUFS
- AWS
- BIOS
- CLI
Expand Down Expand Up @@ -45,6 +46,7 @@ exceptions:
- LESS
- LLDB
- NET
- NFS
- NOTE
- NVDA
- OSS
Expand All @@ -62,16 +64,19 @@ exceptions:
- SCSS
- SDK
- SQL
- SSD
- SSH
- SSL
- SVG
- TBD
- TCP
- TIP
- TODO
- TTY
- URI
- URL
- USB
- USD
- UTF
- VAT
- WSL
Expand Down
6 changes: 4 additions & 2 deletions _vale/config/vocabularies/Docker/accept.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
A?GPL(v3)?
APIs?
ARM
Netplan
AWS
Admin Console
Amazon
Expand All @@ -12,6 +11,7 @@ Artifactory
Autobuild
Autotest
Azure
Btrfs
BuildKit
BusyBox
CISA
Expand All @@ -35,7 +35,6 @@ Ddosify
Debootstrap
Dev Environments?
Django
Docker's
Docker Build Cloud
Docker Business
Docker Dasboard
Expand All @@ -45,6 +44,7 @@ Docker Extension
Docker Hub
Docker Scout
Docker Team
Docker's
Docker-Sponsored Open Source
Dockerfile
Dockerize
Expand Down Expand Up @@ -83,6 +83,7 @@ Mail(chimp|gun)
Microsoft
MySQL
NAT
Netplan
Nginx
Nuxeo
OAuth
Expand Down Expand Up @@ -176,6 +177,7 @@ npm
osquery
osxfs
runc
snapshotters?
stdin
stdout
subnet
Expand Down
2 changes: 1 addition & 1 deletion _vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/moby/moby v27.3.1+incompatible
# github.com/moby/buildkit v0.16.0
# github.com/docker/buildx v0.17.0
# github.com/docker/buildx v0.17.1
# github.com/docker/cli v27.3.1+incompatible
# github.com/docker/compose/v2 v2.29.6
# github.com/docker/scout-cli v1.13.0
8 changes: 4 additions & 4 deletions content/contribute/components/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ grid:
icon: "database"
description: Icon name = database
- title: "logs"
icon: "feed"
description: Icon name = feed
icon: "text_snippet"
description: Icon name = text_snippet
- title: "Prune/cut"
icon: "cut"
description: Icon name = cut
icon: "content_cut"
description: Icon name = content_cut
- title: "Configure"
icon: "tune"
description: Icon name = tune
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create

```plaintext
spring-boot-docker
├── Dockerfile
├── Dockerfile.multi
├── HELP.md
├── mvnw
├── mvnw.cmd
Expand All @@ -86,7 +84,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
│ ├── java
│ │ └── com
│ │ └── example
│ │ └── springbootdocker
│ │ └── spring_boot_docker
│ │ └── SpringBootDockerApplication.java
│ └── resources
│ ├── application.properties
Expand All @@ -96,10 +94,10 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
└── java
└── com
└── example
└── springbootdocker
└── spring_boot_docker
└── SpringBootDockerApplicationTests.java

15 directories, 9 files
15 directories, 7 files
```

The `src/main/java` directory contains your project's source code, the `src/test/java` directory
Expand All @@ -112,12 +110,12 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
4. Create a RESTful web service that displays "Hello World!".


Under the `src/main/java/com/example/springbootdocker/` directory, you can modify your
Under the `src/main/java/com/example/spring_boot_docker/` directory, you can modify your
`SpringBootDockerApplication.java` file with the following content:


```java
package com.example.springbootdocker;
package com.example.spring_boot_docker;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -141,7 +139,7 @@ In this hands-on guide, you'll unlock the power of multi-stage builds to create
}
```

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.
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.


### Create the Dockerfile
Expand Down Expand Up @@ -238,20 +236,21 @@ Now that you have the project, you’re ready to create the `Dockerfile`.
You'll then see output similar to the following in the container log:

```plaintext
[INFO] --- spring-boot:3.3.0-M3:run (default-cli) @ spring-boot-docker ---
[INFO] --- spring-boot:3.3.4:run (default-cli) @ spring-boot-docker ---
[INFO] Attaching agents: []
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/

:: Spring Boot :: (v3.3.0-M3)

2024-04-04T15:36:47.202Z INFO 42 --- [spring-boot-docker] [ main]
c.e.s.SpringBootDockerApplication : Starting SpringBootDockerApplication using Java
21.0.2 with PID 42 (/app/target/classes started by root in /app)

. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/

:: Spring Boot :: (v3.3.4)

2024-09-29T23:54:07.157Z INFO 159 --- [spring-boot-docker] [ main]
c.e.s.SpringBootDockerApplication : Starting SpringBootDockerApplication using Java
21.0.2 with PID 159 (/app/target/classes started by root in /app)
….
```

Expand Down
2 changes: 1 addition & 1 deletion content/get-started/workshop/08_using_compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In the `getting-started-app` directory, create a file named `compose.yaml`.

## Define the app service

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

```console
$ docker run -dp 127.0.0.1:3000:3000 \
Expand Down
2 changes: 1 addition & 1 deletion content/manuals/admin/organization/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ grid:
link: /admin/organization/members/
- title: Activity logs
description: Learn how to audit the activities of your members.
icon: feed
icon: text_snippet
link: /admin/organization/activity-logs/
- title: Image Access Management
description: Control which types of images your developers can pull.
Expand Down
32 changes: 32 additions & 0 deletions content/manuals/desktop/install/msi/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,35 @@ You can suppress reboots by using the `/norestart` option when launching the ins
```powershell
msiexec /i "DockerDesktop.msi" /L*V ".\msi.log" /norestart
```

### Why isn't the `docker-users` group populated when the MSI is installed with Intune or another MDM solution?

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.

As an example, you can reproduce this by running the installer with `psexec` in an elevated command prompt:

```powershell
psexec -i -s msiexec /i "DockerDesktop.msi"
```
The installation should complete successfully, but the `docker-users` group won't be populated.

As a workaround, you can create a script that runs in the context of the user account.

The script would be responsible for creating the `docker-users` group and populating it with the correct user.

Here's an example script that creates the `docker-users` group and adds the current user to it (requirements may vary depending on environment):

```powershell
$Group = "docker-users"
$CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name

# Create the group
New-LocalGroup -Name $Group

# Add the user to the group
Add-LocalGroupMember -Group $Group -Member $CurrentUser
```

> [!NOTE]
>
> 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.
4 changes: 2 additions & 2 deletions content/manuals/engine/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ grid:
link: /network
- title: Container logs
description: Learn how to view and read container logs.
icon: feed
icon: text_snippet
link: /config/containers/logging/
- title: Prune
description: Tidy up unused resources.
icon: cut
icon: content_cut
link: /config/pruning
- title: Configure the daemon
description: Delve into the configuration options of the Docker daemon.
Expand Down
24 changes: 14 additions & 10 deletions content/manuals/engine/storage/drivers/device-mapper-driver.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,11 @@ After you have satisfied the [prerequisites](#prerequisites), follow the steps
below to configure Docker to use the `devicemapper` storage driver in
`direct-lvm` mode.

> [!WARNING]: Changing the storage driver makes any containers you have already
created inaccessible on the local system. Use `docker save` to save containers,
and push existing images to Docker Hub or a private repository, so you do not
need to recreate them later.
> [!WARNING]
> Changing the storage driver makes any containers you have already
> created inaccessible on the local system. Use `docker save` to save containers,
> and push existing images to Docker Hub or a private repository, so you do not
> need to recreate them later.

#### Allow Docker to configure direct-lvm mode

Expand Down Expand Up @@ -191,8 +192,9 @@ See all storage options for each storage driver in the
Restart Docker for the changes to take effect. Docker invokes the commands to
configure the block device for you.

> [!WARNING]: Changing these values after Docker has prepared the block device
> for you is not supported and causes an error.
> [!WARNING]
> Changing these values after Docker has prepared the block device for you is
> not supported and causes an error.

You still need to [perform periodic maintenance tasks](#manage-devicemapper).

Expand Down Expand Up @@ -227,8 +229,9 @@ assumes that the Docker daemon is in the `stopped` state.
4. Create a physical volume on your block device from step 1, using the
`pvcreate` command. Substitute your device name for `/dev/xvdf`.

> [!WARNING]: The next few steps are destructive, so be sure that you have
> specified the correct device!
> [!WARNING]
> The next few steps are destructive, so be sure that you have specified
> the correct device.

```console
$ sudo pvcreate /dev/xvdf
Expand Down Expand Up @@ -651,7 +654,8 @@ $ sudo lvchange -ay docker/thinpool

## How the `devicemapper` storage driver works

> [!WARNING]: Do not directly manipulate any files or directories within
> [!WARNING]
> Do not directly manipulate any files or directories within
> `/var/lib/docker/`. These files and directories are managed by Docker.

Use the `lsblk` command to see the devices and their pools, from the operating
Expand Down Expand Up @@ -835,7 +839,7 @@ storage driver.
files generated by a container are still stored in Docker's dataroot directory,
by default `/var/lib/docker`. If your containers generate lots of log messages,
this may lead to increased disk usage or the inability to manage your system due
to a full disk. You can configure a
to a full disk. You can configure a
[log driver](/manuals/engine/logging/configure.md) to store your container
logs externally.

Expand Down
Loading