diff --git a/_vendor/github.com/docker/cli/docs/reference/dockerd.md b/_vendor/github.com/docker/cli/docs/reference/dockerd.md
index bb603c9b38..ae6eb2fee3 100644
--- a/_vendor/github.com/docker/cli/docs/reference/dockerd.md
+++ b/_vendor/github.com/docker/cli/docs/reference/dockerd.md
@@ -892,7 +892,7 @@ Alternatively, you can set custom locations for CDI specifications using the
When CDI is enabled for a daemon, you can view the configured CDI specification
directories using the `docker info` command.
-#### Daemon logging format
+#### Daemon logging format {#log-format}
The `--log-format` option or "log-format" option in the [daemon configuration file](#daemon-configuration-file)
lets you set the format for logs produced by the daemon. The logging format should
@@ -1000,7 +1000,7 @@ Example of usage:
}
```
-### Enable feature in the daemon (--feature)
+### Enable feature in the daemon (--feature) {#feature}
The `--feature` option lets you enable or disable a feature in the daemon.
This option corresponds with the "features" field in the [daemon.json configuration file](#daemon-configuration-file).
diff --git a/_vendor/github.com/docker/cli/docs/reference/run.md b/_vendor/github.com/docker/cli/docs/reference/run.md
index 4d8671bef4..db06ad71f6 100644
--- a/_vendor/github.com/docker/cli/docs/reference/run.md
+++ b/_vendor/github.com/docker/cli/docs/reference/run.md
@@ -285,7 +285,7 @@ See 'docker run --help'.
### 126
Exit code `126` indicates that the specified contained command can't be invoked.
-The container command in the following example is: `/etc; echo $?`.
+The container command in the following example is: `/etc`.
```console
$ docker run busybox /etc; echo $?
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.25.yaml b/_vendor/github.com/moby/moby/docs/api/v1.25.yaml
index fcdf392a90..f3aba9f65c 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.25.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.25.yaml
@@ -3501,10 +3501,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -5721,10 +5723,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.26.yaml b/_vendor/github.com/moby/moby/docs/api/v1.26.yaml
index db036d6b3f..cd1470fb32 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.26.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.26.yaml
@@ -3505,10 +3505,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -5729,10 +5731,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.27.yaml b/_vendor/github.com/moby/moby/docs/api/v1.27.yaml
index b451131806..2b4b3e5be5 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.27.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.27.yaml
@@ -3572,10 +3572,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -5803,10 +5805,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.28.yaml b/_vendor/github.com/moby/moby/docs/api/v1.28.yaml
index 5781053b28..f565ef5d1d 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.28.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.28.yaml
@@ -3663,10 +3663,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -5918,10 +5920,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.29.yaml b/_vendor/github.com/moby/moby/docs/api/v1.29.yaml
index 1ab1f00f31..ff014b2086 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.29.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.29.yaml
@@ -3696,10 +3696,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -5951,10 +5953,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.30.yaml b/_vendor/github.com/moby/moby/docs/api/v1.30.yaml
index c182c9149f..3461d022b0 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.30.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.30.yaml
@@ -3921,10 +3921,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -6205,10 +6207,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.31.yaml b/_vendor/github.com/moby/moby/docs/api/v1.31.yaml
index 05812bfa06..61c232bbe4 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.31.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.31.yaml
@@ -3990,10 +3990,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -6297,10 +6299,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.32.yaml b/_vendor/github.com/moby/moby/docs/api/v1.32.yaml
index 85b2341f44..158d205d57 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.32.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.32.yaml
@@ -5223,10 +5223,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7335,10 +7337,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.33.yaml b/_vendor/github.com/moby/moby/docs/api/v1.33.yaml
index 20b0878ea6..af1375432b 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.33.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.33.yaml
@@ -5227,10 +5227,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7343,10 +7345,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.34.yaml b/_vendor/github.com/moby/moby/docs/api/v1.34.yaml
index 4e17b3fbd9..d36f7d5bb5 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.34.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.34.yaml
@@ -5255,10 +5255,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7383,10 +7385,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.35.yaml b/_vendor/github.com/moby/moby/docs/api/v1.35.yaml
index 82aa3cff8b..5071dfd239 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.35.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.35.yaml
@@ -5263,10 +5263,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7416,10 +7418,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.36.yaml b/_vendor/github.com/moby/moby/docs/api/v1.36.yaml
index 0e5e4fe58c..96e905d3fe 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.36.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.36.yaml
@@ -5283,10 +5283,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7450,10 +7452,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.37.yaml b/_vendor/github.com/moby/moby/docs/api/v1.37.yaml
index 80cbc2199b..f10b291236 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.37.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.37.yaml
@@ -5303,10 +5303,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7493,10 +7495,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.38.yaml b/_vendor/github.com/moby/moby/docs/api/v1.38.yaml
index f74d967976..f82650b019 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.38.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.38.yaml
@@ -5364,10 +5364,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the tty session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the tty session in characters"
type: "integer"
tags: ["Container"]
@@ -7564,10 +7566,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.39.yaml b/_vendor/github.com/moby/moby/docs/api/v1.39.yaml
index 2c7021c02b..297cec305b 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.39.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.39.yaml
@@ -6654,10 +6654,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -8836,10 +8838,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.40.yaml b/_vendor/github.com/moby/moby/docs/api/v1.40.yaml
index 15bd011876..fc2c7c8cf9 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.40.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.40.yaml
@@ -6960,10 +6960,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9169,10 +9171,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.41.yaml b/_vendor/github.com/moby/moby/docs/api/v1.41.yaml
index 2dcae1faf8..54a4c80d24 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.41.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.41.yaml
@@ -7249,10 +7249,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9460,10 +9462,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.42.yaml b/_vendor/github.com/moby/moby/docs/api/v1.42.yaml
index 80e24f6c4e..b3745325d2 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.42.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.42.yaml
@@ -7468,10 +7468,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9779,10 +9781,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.43.yaml b/_vendor/github.com/moby/moby/docs/api/v1.43.yaml
index e7a3d5d027..934e77e054 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.43.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.43.yaml
@@ -7486,10 +7486,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9797,10 +9799,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.44.yaml b/_vendor/github.com/moby/moby/docs/api/v1.44.yaml
index 019ceb8eb7..709203bf85 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.44.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.44.yaml
@@ -7642,10 +7642,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9965,10 +9967,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.45.yaml b/_vendor/github.com/moby/moby/docs/api/v1.45.yaml
index c651bfdd5c..9aa5c241fd 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.45.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.45.yaml
@@ -7628,10 +7628,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9945,10 +9947,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.46.yaml b/_vendor/github.com/moby/moby/docs/api/v1.46.yaml
index 2f714c4ca8..5945f098f4 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.46.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.46.yaml
@@ -7749,10 +7749,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9112,6 +9114,19 @@ paths:
all tags of the given image that are present in the local image store
are pushed.
type: "string"
+ - name: "platform"
+ type: "string"
+ in: "query"
+ description: |
+ JSON-encoded OCI platform to select the platform-variant to push.
+ If not provided, all available variants will attempt to be pushed.
+
+ If the daemon provides a multi-platform image store, this selects
+ the platform-variant to push to the registry. If the image is
+ a single-platform image, or if the multi-platform image does not
+ provide a variant matching the given platform, an error is returned.
+
+ Example: `{"os": "linux", "architecture": "arm", "variant": "v5"}`
- name: "X-Registry-Auth"
in: "header"
description: |
@@ -9121,11 +9136,6 @@ paths:
details.
type: "string"
required: true
- - name: "platform"
- in: "query"
- description: "Select a platform-specific manifest to be pushed. OCI platform (JSON encoded)"
- type: "string"
- x-nullable: true
tags: ["Image"]
/images/{name}/tag:
post:
@@ -10071,10 +10081,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/v1.47.yaml b/_vendor/github.com/moby/moby/docs/api/v1.47.yaml
index 7e87be8298..a4b63a1833 100644
--- a/_vendor/github.com/moby/moby/docs/api/v1.47.yaml
+++ b/_vendor/github.com/moby/moby/docs/api/v1.47.yaml
@@ -7881,10 +7881,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Container"]
@@ -9249,6 +9251,19 @@ paths:
all tags of the given image that are present in the local image store
are pushed.
type: "string"
+ - name: "platform"
+ type: "string"
+ in: "query"
+ description: |
+ JSON-encoded OCI platform to select the platform-variant to push.
+ If not provided, all available variants will attempt to be pushed.
+
+ If the daemon provides a multi-platform image store, this selects
+ the platform-variant to push to the registry. If the image is
+ a single-platform image, or if the multi-platform image does not
+ provide a variant matching the given platform, an error is returned.
+
+ Example: `{"os": "linux", "architecture": "arm", "variant": "v5"}`
- name: "X-Registry-Auth"
in: "header"
description: |
@@ -9258,11 +9273,6 @@ paths:
details.
type: "string"
required: true
- - name: "platform"
- in: "query"
- description: "Select a platform-specific manifest to be pushed. OCI platform (JSON encoded)"
- type: "string"
- x-nullable: true
tags: ["Image"]
/images/{name}/tag:
post:
@@ -10208,10 +10218,12 @@ paths:
type: "string"
- name: "h"
in: "query"
+ required: true
description: "Height of the TTY session in characters"
type: "integer"
- name: "w"
in: "query"
+ required: true
description: "Width of the TTY session in characters"
type: "integer"
tags: ["Exec"]
diff --git a/_vendor/github.com/moby/moby/docs/api/version-history.md b/_vendor/github.com/moby/moby/docs/api/version-history.md
index 88f27bebec..b9207d4d60 100644
--- a/_vendor/github.com/moby/moby/docs/api/version-history.md
+++ b/_vendor/github.com/moby/moby/docs/api/version-history.md
@@ -15,7 +15,7 @@ keywords: "API, Docker, rcli, REST, documentation"
## v1.47 API changes
-[Docker Engine API v1.47](https://docs.docker.com/engine/api/v1.47/) documentation
+[Docker Engine API v1.47](https://docs.docker.com/reference/api/engine/version/v1.47/) documentation
* `GET /images/json` response now includes `Manifests` field, which contains
information about the sub-manifests included in the image index. This
@@ -27,7 +27,7 @@ keywords: "API, Docker, rcli, REST, documentation"
## v1.46 API changes
-[Docker Engine API v1.46](https://docs.docker.com/engine/api/v1.46/) documentation
+[Docker Engine API v1.46](https://docs.docker.com/reference/api/engine/version/v1.46/) documentation
* `GET /info` now includes a `Containerd` field containing information about
the location of the containerd API socket and containerd namespaces used
@@ -95,7 +95,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.45 API changes
-[Docker Engine API v1.45](https://docs.docker.com/engine/api/v1.45/) documentation
+[Docker Engine API v1.45](https://docs.docker.com/reference/api/engine/version/v1.45/) documentation
* `POST /containers/create` now supports `VolumeOptions.Subpath` which allows a
subpath of a named volume to be mounted.
@@ -113,7 +113,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.44 API changes
-[Docker Engine API v1.44](https://docs.docker.com/engine/api/v1.44/) documentation
+[Docker Engine API v1.44](https://docs.docker.com/reference/api/engine/version/v1.44/) documentation
* GET `/images/json` now accepts an `until` filter. This accepts a timestamp and
lists all images created before it. The `` can be Unix timestamps,
@@ -182,7 +182,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.43 API changes
-[Docker Engine API v1.43](https://docs.docker.com/engine/api/v1.43/) documentation
+[Docker Engine API v1.43](https://docs.docker.com/reference/api/engine/version/v1.43/) documentation
* `POST /containers/create` now accepts `Annotations` as part of `HostConfig`.
Can be used to attach arbitrary metadata to the container, which will also be
@@ -199,7 +199,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.42 API changes
-[Docker Engine API v1.42](https://docs.docker.com/engine/api/v1.42/) documentation
+[Docker Engine API v1.42](https://docs.docker.com/reference/api/engine/version/v1.42/) documentation
* Removed the `BuilderSize` field on the `GET /system/df` endpoint. This field
was introduced in API 1.31 as part of an experimental feature, and no longer
@@ -307,7 +307,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.41 API changes
-[Docker Engine API v1.41](https://docs.docker.com/engine/api/v1.41/) documentation
+[Docker Engine API v1.41](https://docs.docker.com/reference/api/engine/version/v1.41/) documentation
* `GET /events` now returns `prune` events after pruning resources have completed.
Prune events are returned for `container`, `network`, `volume`, `image`, and
@@ -395,7 +395,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.40 API changes
-[Docker Engine API v1.40](https://docs.docker.com/engine/api/v1.40/) documentation
+[Docker Engine API v1.40](https://docs.docker.com/reference/api/engine/version/v1.40/) documentation
* The `/_ping` endpoint can now be accessed both using `GET` or `HEAD` requests.
when accessed using a `HEAD` request, all headers are returned, but the body
@@ -462,7 +462,7 @@ are not part of the underlying image's Config, and deprecated:
## V1.39 API changes
-[Docker Engine API v1.39](https://docs.docker.com/engine/api/v1.39/) documentation
+[Docker Engine API v1.39](https://docs.docker.com/reference/api/engine/version/v1.39/) documentation
* `GET /info` now returns an empty string, instead of `` for `KernelVersion`
and `OperatingSystem` if the daemon was unable to obtain this information.
@@ -479,7 +479,7 @@ are not part of the underlying image's Config, and deprecated:
## V1.38 API changes
-[Docker Engine API v1.38](https://docs.docker.com/engine/api/v1.38/) documentation
+[Docker Engine API v1.38](https://docs.docker.com/reference/api/engine/version/v1.38/) documentation
* `GET /tasks` and `GET /tasks/{id}` now return a `NetworkAttachmentSpec` field,
@@ -488,7 +488,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.37 API changes
-[Docker Engine API v1.37](https://docs.docker.com/engine/api/v1.37/) documentation
+[Docker Engine API v1.37](https://docs.docker.com/reference/api/engine/version/v1.37/) documentation
* `POST /containers/create` and `POST /services/create` now supports exposing SCTP ports.
* `POST /configs/create` and `POST /configs/{id}/create` now accept a `Templating` driver.
@@ -498,14 +498,14 @@ are not part of the underlying image's Config, and deprecated:
## v1.36 API changes
-[Docker Engine API v1.36](https://docs.docker.com/engine/api/v1.36/) documentation
+[Docker Engine API v1.36](https://docs.docker.com/reference/api/engine/version/v1.36/) documentation
* `Get /events` now return `exec_die` event when an exec process terminates.
## v1.35 API changes
-[Docker Engine API v1.35](https://docs.docker.com/engine/api/v1.35/) documentation
+[Docker Engine API v1.35](https://docs.docker.com/reference/api/engine/version/v1.35/) documentation
* `POST /services/create` and `POST /services/(id)/update` now accepts an
`Isolation` field on container spec to set the Isolation technology of the
@@ -528,7 +528,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.34 API changes
-[Docker Engine API v1.34](https://docs.docker.com/engine/api/v1.34/) documentation
+[Docker Engine API v1.34](https://docs.docker.com/reference/api/engine/version/v1.34/) documentation
* `POST /containers/(name)/wait?condition=removed` now also also returns
in case of container removal failure. A pointer to a structure named
@@ -539,14 +539,14 @@ are not part of the underlying image's Config, and deprecated:
## v1.33 API changes
-[Docker Engine API v1.33](https://docs.docker.com/engine/api/v1.33/) documentation
+[Docker Engine API v1.33](https://docs.docker.com/reference/api/engine/version/v1.33/) documentation
* `GET /events` now supports filtering 4 more kinds of events: `config`, `node`,
`secret` and `service`.
## v1.32 API changes
-[Docker Engine API v1.32](https://docs.docker.com/engine/api/v1.32/) documentation
+[Docker Engine API v1.32](https://docs.docker.com/reference/api/engine/version/v1.32/) documentation
* `POST /images/create` now accepts a `platform` parameter in the form of `os[/arch[/variant]]`.
* `POST /containers/create` now accepts additional values for the
@@ -560,7 +560,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.31 API changes
-[Docker Engine API v1.31](https://docs.docker.com/engine/api/v1.31/) documentation
+[Docker Engine API v1.31](https://docs.docker.com/reference/api/engine/version/v1.31/) documentation
* `DELETE /secrets/(name)` now returns status code 404 instead of 500 when the secret does not exist.
* `POST /secrets/create` now returns status code 409 instead of 500 when creating an already existing secret.
@@ -591,7 +591,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.30 API changes
-[Docker Engine API v1.30](https://docs.docker.com/engine/api/v1.30/) documentation
+[Docker Engine API v1.30](https://docs.docker.com/reference/api/engine/version/v1.30/) documentation
* `GET /info` now returns the list of supported logging drivers, including plugins.
* `GET /info` and `GET /swarm` now returns the cluster-wide swarm CA info if the node is in a swarm: the cluster root CA certificate, and the cluster TLS
@@ -614,7 +614,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.29 API changes
-[Docker Engine API v1.29](https://docs.docker.com/engine/api/v1.29/) documentation
+[Docker Engine API v1.29](https://docs.docker.com/reference/api/engine/version/v1.29/) documentation
* `DELETE /networks/(name)` now allows to remove the ingress network, the one used to provide the routing-mesh.
* `POST /networks/create` now supports creating the ingress network, by specifying an `Ingress` boolean field. As of now this is supported only when using the overlay network driver.
@@ -628,7 +628,7 @@ are not part of the underlying image's Config, and deprecated:
## v1.28 API changes
-[Docker Engine API v1.28](https://docs.docker.com/engine/api/v1.28/) documentation
+[Docker Engine API v1.28](https://docs.docker.com/reference/api/engine/version/v1.28/) documentation
* `POST /containers/create` now includes a `Consistency` field to specify the consistency level for each `Mount`, with possible values `default`, `consistent`, `cached`, or `delegated`.
* `GET /containers/create` now takes a `DeviceCgroupRules` field in `HostConfig` allowing to set custom device cgroup rules for the created container.
@@ -646,19 +646,19 @@ are not part of the underlying image's Config, and deprecated:
## v1.27 API changes
-[Docker Engine API v1.27](https://docs.docker.com/engine/api/v1.27/) documentation
+[Docker Engine API v1.27](https://docs.docker.com/reference/api/engine/version/v1.27/) documentation
* `GET /containers/(id or name)/stats` now includes an `online_cpus` field in both `precpu_stats` and `cpu_stats`. If this field is `nil` then for compatibility with older daemons the length of the corresponding `cpu_usage.percpu_usage` array should be used.
## v1.26 API changes
-[Docker Engine API v1.26](https://docs.docker.com/engine/api/v1.26/) documentation
+[Docker Engine API v1.26](https://docs.docker.com/reference/api/engine/version/v1.26/) documentation
* `POST /plugins/(plugin name)/upgrade` upgrade a plugin.
## v1.25 API changes
-[Docker Engine API v1.25](https://docs.docker.com/engine/api/v1.25/) documentation
+[Docker Engine API v1.25](https://docs.docker.com/reference/api/engine/version/v1.25/) documentation
* The API version is now required in all API calls. Instead of just requesting, for example, the URL `/containers/json`, you must now request `/v1.25/containers/json`.
* `GET /version` now returns `MinAPIVersion`.
diff --git a/_vendor/modules.txt b/_vendor/modules.txt
index bf58f597c1..e0b9fdce71 100644
--- a/_vendor/modules.txt
+++ b/_vendor/modules.txt
@@ -1,6 +1,6 @@
-# github.com/moby/moby v27.3.1+incompatible
+# github.com/moby/moby v27.4.0+incompatible
# github.com/moby/buildkit v0.18.0
# github.com/docker/buildx v0.19.2
-# github.com/docker/cli v27.4.0-rc.2+incompatible
+# github.com/docker/cli v27.4.0+incompatible
# github.com/docker/compose/v2 v2.31.0
# github.com/docker/scout-cli v1.15.0
diff --git a/content/manuals/engine/release-notes/27.md b/content/manuals/engine/release-notes/27.md
index 0bfcdfbd0d..5630c551eb 100644
--- a/content/manuals/engine/release-notes/27.md
+++ b/content/manuals/engine/release-notes/27.md
@@ -66,7 +66,7 @@ For a full list of pull requests and changes in this release, refer to the relev
- Fix an issue that caused excessive memory usage when DNS resolution was made in a tight loop. [moby/moby#48840](https://github.com/moby/moby/pull/48840)
- Fix a bug preventing image pulls from being cancelled during `docker run`. [docker/cli#5654](https://github.com/docker/cli/pull/5654)
- The `docker login` and `docker logout` command no longer update the configuration file if the credentials didn't change. [docker/cli#5569](https://github.com/docker/cli/pull/5569)
-- Optimise `docker stats` to reduce flickering issues. [docker/cli#5588](https://github.com/docker/cli/pull/5588), [docker/cli#5635](https://github.com/docker/cli/pull/5635)
+- Optimize `docker stats` to reduce flickering issues. [docker/cli#5588](https://github.com/docker/cli/pull/5588), [docker/cli#5635](https://github.com/docker/cli/pull/5635)
- Fix inaccessible plugins paths preventing plugins from being detected. [docker/cli#5652](https://github.com/docker/cli/pull/5652)
- Add support for `events --filter` in cobra generated shell completions. [docker/cli#5614](https://github.com/docker/cli/pull/5614)
- Fix bash completion for `events --filter daemon=`. [docker/cli#5563](https://github.com/docker/cli/pull/5563)
diff --git a/data/engine-cli/docker_container_prune.yaml b/data/engine-cli/docker_container_prune.yaml
index e6031d9081..c595b3e6f8 100644
--- a/data/engine-cli/docker_container_prune.yaml
+++ b/data/engine-cli/docker_container_prune.yaml
@@ -62,7 +62,7 @@ examples: |-
* label (`label=`, `label==`, `label!=`, or `label!==`) - only remove containers with (or without, in case `label!=...` is used) the specified labels.
The `until` filter can be Unix timestamps, date formatted
- timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
+ timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
relative to the daemon machine’s time. Supported formats for date
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local
diff --git a/data/engine-cli/docker_image_prune.yaml b/data/engine-cli/docker_image_prune.yaml
index e69dc4b938..2cae8c5907 100644
--- a/data/engine-cli/docker_image_prune.yaml
+++ b/data/engine-cli/docker_image_prune.yaml
@@ -96,7 +96,7 @@ examples: |-
* label (`label=`, `label==`, `label!=`, or `label!==`) - only remove images with (or without, in case `label!=...` is used) the specified labels.
The `until` filter can be Unix timestamps, date formatted
- timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
+ timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
relative to the daemon machine’s time. Supported formats for date
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local
diff --git a/data/engine-cli/docker_network_prune.yaml b/data/engine-cli/docker_network_prune.yaml
index b291f37a86..01b9e8ff9a 100644
--- a/data/engine-cli/docker_network_prune.yaml
+++ b/data/engine-cli/docker_network_prune.yaml
@@ -61,7 +61,7 @@ examples: |-
* label (`label=`, `label==`, `label!=`, or `label!==`) - only remove networks with (or without, in case `label!=...` is used) the specified labels.
The `until` filter can be Unix timestamps, date formatted
- timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
+ timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
relative to the daemon machine’s time. Supported formats for date
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local
diff --git a/data/engine-cli/docker_node_ps.yaml b/data/engine-cli/docker_node_ps.yaml
index a689d091a9..dfb13ba296 100644
--- a/data/engine-cli/docker_node_ps.yaml
+++ b/data/engine-cli/docker_node_ps.yaml
@@ -82,11 +82,11 @@ examples: |-
$ docker node ps swarm-manager1
NAME IMAGE NODE DESIRED STATE CURRENT STATE
- redis.1.7q92v0nr1hcgts2amcjyqg3pq redis:3.0.6 swarm-manager1 Running Running 5 hours
- redis.6.b465edgho06e318egmgjbqo4o redis:3.0.6 swarm-manager1 Running Running 29 seconds
- redis.7.bg8c07zzg87di2mufeq51a2qp redis:3.0.6 swarm-manager1 Running Running 5 seconds
- redis.9.dkkual96p4bb3s6b10r7coxxt redis:3.0.6 swarm-manager1 Running Running 5 seconds
- redis.10.0tgctg8h8cech4w0k0gwrmr23 redis:3.0.6 swarm-manager1 Running Running 5 seconds
+ redis.1.7q92v0nr1hcgts2amcjyqg3pq redis:7.4.1 swarm-manager1 Running Running 5 hours
+ redis.6.b465edgho06e318egmgjbqo4o redis:7.4.1 swarm-manager1 Running Running 29 seconds
+ redis.7.bg8c07zzg87di2mufeq51a2qp redis:7.4.1 swarm-manager1 Running Running 5 seconds
+ redis.9.dkkual96p4bb3s6b10r7coxxt redis:7.4.1 swarm-manager1 Running Running 5 seconds
+ redis.10.0tgctg8h8cech4w0k0gwrmr23 redis:7.4.1 swarm-manager1 Running Running 5 seconds
```
### Filtering (--filter) {#filter}
@@ -112,11 +112,11 @@ examples: |-
$ docker node ps -f name=redis swarm-manager1
NAME IMAGE NODE DESIRED STATE CURRENT STATE
- redis.1.7q92v0nr1hcgts2amcjyqg3pq redis:3.0.6 swarm-manager1 Running Running 5 hours
- redis.6.b465edgho06e318egmgjbqo4o redis:3.0.6 swarm-manager1 Running Running 29 seconds
- redis.7.bg8c07zzg87di2mufeq51a2qp redis:3.0.6 swarm-manager1 Running Running 5 seconds
- redis.9.dkkual96p4bb3s6b10r7coxxt redis:3.0.6 swarm-manager1 Running Running 5 seconds
- redis.10.0tgctg8h8cech4w0k0gwrmr23 redis:3.0.6 swarm-manager1 Running Running 5 seconds
+ redis.1.7q92v0nr1hcgts2amcjyqg3pq redis:7.4.1 swarm-manager1 Running Running 5 hours
+ redis.6.b465edgho06e318egmgjbqo4o redis:7.4.1 swarm-manager1 Running Running 29 seconds
+ redis.7.bg8c07zzg87di2mufeq51a2qp redis:7.4.1 swarm-manager1 Running Running 5 seconds
+ redis.9.dkkual96p4bb3s6b10r7coxxt redis:7.4.1 swarm-manager1 Running Running 5 seconds
+ redis.10.0tgctg8h8cech4w0k0gwrmr23 redis:7.4.1 swarm-manager1 Running Running 5 seconds
```
#### id
@@ -127,7 +127,7 @@ examples: |-
$ docker node ps -f id=bg8c07zzg87di2mufeq51a2qp swarm-manager1
NAME IMAGE NODE DESIRED STATE CURRENT STATE
- redis.7.bg8c07zzg87di2mufeq51a2qp redis:3.0.6 swarm-manager1 Running Running 5 seconds
+ redis.7.bg8c07zzg87di2mufeq51a2qp redis:7.4.1 swarm-manager1 Running Running 5 seconds
```
#### label
@@ -141,8 +141,8 @@ examples: |-
$ docker node ps -f "label=usage"
NAME IMAGE NODE DESIRED STATE CURRENT STATE
- redis.6.b465edgho06e318egmgjbqo4o redis:3.0.6 swarm-manager1 Running Running 10 minutes
- redis.7.bg8c07zzg87di2mufeq51a2qp redis:3.0.6 swarm-manager1 Running Running 9 minutes
+ redis.6.b465edgho06e318egmgjbqo4o redis:7.4.1 swarm-manager1 Running Running 10 minutes
+ redis.7.bg8c07zzg87di2mufeq51a2qp redis:7.4.1 swarm-manager1 Running Running 9 minutes
```
diff --git a/data/engine-cli/docker_service_create.yaml b/data/engine-cli/docker_service_create.yaml
index 09bc67f5cc..4a88cdc0f1 100644
--- a/data/engine-cli/docker_service_create.yaml
+++ b/data/engine-cli/docker_service_create.yaml
@@ -787,19 +787,19 @@ examples: |-
### Create a service
```console
- $ docker service create --name redis redis:3.0.6
+ $ docker service create --name redis redis:7.4.1
dmu1ept4cxcfe8k8lhtux3ro3
- $ docker service create --mode global --name redis2 redis:3.0.6
+ $ docker service create --mode global --name redis2 redis:7.4.1
a8q9dasaafudfs8q8w32udass
$ docker service ls
ID NAME MODE REPLICAS IMAGE
- dmu1ept4cxcf redis replicated 1/1 redis:3.0.6
- a8q9dasaafud redis2 global 1/1 redis:3.0.6
+ dmu1ept4cxcf redis replicated 1/1 redis:7.4.1
+ a8q9dasaafud redis2 global 1/1 redis:7.4.1
```
#### Create a service using an image on a private registry (--with-registry-auth) {#with-registry-auth}
@@ -828,7 +828,7 @@ examples: |-
service. The following command creates a `redis` service with `5` replica tasks:
```console
- $ docker service create --name redis --replicas=5 redis:3.0.6
+ $ docker service create --name redis --replicas=5 redis:7.4.1
4cdgfyky7ozwh3htjfw0d12qv
```
@@ -845,7 +845,7 @@ examples: |-
$ docker service ls
ID NAME MODE REPLICAS IMAGE
- 4cdgfyky7ozw redis replicated 3/5 redis:3.0.7
+ 4cdgfyky7ozw redis replicated 3/5 redis:7.4.1
```
Once all the tasks are created and `RUNNING`, the actual number of tasks is
@@ -855,7 +855,7 @@ examples: |-
$ docker service ls
ID NAME MODE REPLICAS IMAGE
- 4cdgfyky7ozw redis replicated 5/5 redis:3.0.7
+ 4cdgfyky7ozw redis replicated 5/5 redis:7.4.1
```
### Create a service with secrets (--secret) {#secret}
@@ -866,7 +866,7 @@ examples: |-
Create a service specifying a secret:
```console
- $ docker service create --name redis --secret secret.json redis:3.0.6
+ $ docker service create --name redis --secret secret.json redis:7.4.1
4cdgfyky7ozwh3htjfw0d12qv
```
@@ -877,7 +877,7 @@ examples: |-
$ docker service create --name redis \
--secret source=ssh-key,target=ssh \
--secret source=app-key,target=app,uid=1000,gid=1001,mode=0400 \
- redis:3.0.6
+ redis:7.4.1
4cdgfyky7ozwh3htjfw0d12qv
```
@@ -903,14 +903,14 @@ examples: |-
as `0755`.
```console
- $ docker service create --name=redis --config redis-conf redis:3.0.6
+ $ docker service create --name=redis --config redis-conf redis:7.4.1
```
Create a service with a config and specify the target location and file mode:
```console
$ docker service create --name redis \
- --config source=redis-conf,target=/etc/redis/redis.conf,mode=0400 redis:3.0.6
+ --config source=redis-conf,target=/etc/redis/redis.conf,mode=0400 redis:7.4.1
```
To grant a service access to multiple configs, use multiple `--config` flags.
@@ -927,7 +927,7 @@ examples: |-
--name redis \
--update-delay 10s \
--update-parallelism 2 \
- redis:3.0.6
+ redis:7.4.1
```
When you run a [service update](/reference/cli/docker/service/update/), the scheduler updates a
@@ -944,7 +944,7 @@ examples: |-
--name redis_2 \
--replicas 5 \
--env MYVAR=foo \
- redis:3.0.6
+ redis:7.4.1
```
To specify multiple environment variables, specify multiple `--env` flags, each
@@ -956,7 +956,7 @@ examples: |-
--replicas 5 \
--env MYVAR=foo \
--env MYVAR2=bar \
- redis:3.0.6
+ redis:7.4.1
```
### Create a service with specific hostname (--hostname) {#hostname}
@@ -965,7 +965,7 @@ examples: |-
For example:
```console
- $ docker service create --name redis --hostname myredis redis:3.0.6
+ $ docker service create --name redis --hostname myredis redis:7.4.1
```
### Set metadata on a service (-l, --label) {#label}
@@ -978,7 +978,7 @@ examples: |-
--name redis_2 \
--label com.example.foo="bar" \
--label bar=baz \
- redis:3.0.6
+ redis:7.4.1
```
For more information about labels, refer to [apply custom
@@ -1367,7 +1367,7 @@ examples: |-
$ docker service create \
--name redis_2 \
--mode global \
- redis:3.0.6
+ redis:7.4.1
```
### Specify service constraints (--constraint) {#constraint}
@@ -1400,7 +1400,7 @@ examples: |-
--name redis_2 \
--constraint node.platform.os==linux \
--constraint node.labels.type==queue \
- redis:3.0.6
+ redis:7.4.1
```
If the service constraints exclude all nodes in the cluster, a message is printed
@@ -1448,7 +1448,7 @@ examples: |-
--replicas 9 \
--name redis_2 \
--placement-pref spread=node.labels.datacenter \
- redis:3.0.6
+ redis:7.4.1
```
This uses `--placement-pref` with a `spread` strategy (currently the only
@@ -1500,7 +1500,7 @@ examples: |-
--name redis_2 \
--placement-pref 'spread=node.labels.datacenter' \
--placement-pref 'spread=node.labels.rack' \
- redis:3.0.6
+ redis:7.4.1
```
When updating a service with `docker service update`, `--placement-pref-add`
diff --git a/data/engine-cli/docker_service_inspect.yaml b/data/engine-cli/docker_service_inspect.yaml
index 38f7f4b4fc..33a835305f 100644
--- a/data/engine-cli/docker_service_inspect.yaml
+++ b/data/engine-cli/docker_service_inspect.yaml
@@ -65,7 +65,7 @@ examples: |-
```console
$ docker service ls
ID NAME MODE REPLICAS IMAGE
- dmu1ept4cxcf redis replicated 3/3 redis:3.0.6
+ dmu1ept4cxcf redis replicated 3/3 redis:7.4.1
```
Both `docker service inspect redis`, and `docker service inspect dmu1ept4cxcf`
@@ -90,7 +90,7 @@ examples: |-
"Name": "redis",
"TaskTemplate": {
"ContainerSpec": {
- "Image": "redis:3.0.6"
+ "Image": "redis:7.4.1"
},
"Resources": {
"Limits": {},
diff --git a/data/engine-cli/docker_service_ls.yaml b/data/engine-cli/docker_service_ls.yaml
index 2a4d3f4e1f..0731f5bc3b 100644
--- a/data/engine-cli/docker_service_ls.yaml
+++ b/data/engine-cli/docker_service_ls.yaml
@@ -70,7 +70,7 @@ examples: |-
ID NAME MODE REPLICAS IMAGE
c8wgl7q4ndfd frontend replicated 5/5 nginx:alpine
- dmu1ept4cxcf redis replicated 3/3 redis:3.0.6
+ dmu1ept4cxcf redis replicated 3/3 redis:7.4.1
iwe3278osahj mongo global 7/7 mongo:3.3
hh08h9uu8uwr job replicated-job 1/1 (3/5 completed) nginx:latest
```
@@ -101,7 +101,7 @@ examples: |-
```console
$ docker service ls -f "id=0bcjw"
ID NAME MODE REPLICAS IMAGE
- 0bcjwfh8ychr redis replicated 1/1 redis:3.0.6
+ 0bcjwfh8ychr redis replicated 1/1 redis:7.4.1
```
#### label
@@ -117,7 +117,7 @@ examples: |-
ID NAME MODE REPLICAS IMAGE
01sl1rp6nj5u frontend2 replicated 1/1 nginx:alpine
36xvvwwauej0 frontend replicated 5/5 nginx:alpine
- 74nzcxxjv6fq backend replicated 3/3 redis:3.0.6
+ 74nzcxxjv6fq backend replicated 3/3 redis:7.4.1
```
The following filter matches only services with the `project` label with the
@@ -127,7 +127,7 @@ examples: |-
$ docker service ls --filter label=project=project-a
ID NAME MODE REPLICAS IMAGE
36xvvwwauej0 frontend replicated 5/5 nginx:alpine
- 74nzcxxjv6fq backend replicated 3/3 redis:3.0.6
+ 74nzcxxjv6fq backend replicated 3/3 redis:7.4.1
```
#### mode
@@ -151,7 +151,7 @@ examples: |-
```console
$ docker service ls --filter name=redis
ID NAME MODE REPLICAS IMAGE
- 0bcjwfh8ychr redis replicated 1/1 redis:3.0.6
+ 0bcjwfh8ychr redis replicated 1/1 redis:7.4.1
```
### Format the output (--format) {#format}
diff --git a/data/engine-cli/docker_service_ps.yaml b/data/engine-cli/docker_service_ps.yaml
index c75f16dc22..74aa851e76 100644
--- a/data/engine-cli/docker_service_ps.yaml
+++ b/data/engine-cli/docker_service_ps.yaml
@@ -84,35 +84,35 @@ examples: |-
$ docker service ps redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- 0qihejybwf1x redis.1 redis:3.0.5 manager1 Running Running 8 seconds
- bk658fpbex0d redis.2 redis:3.0.5 worker2 Running Running 9 seconds
- 5ls5s5fldaqg redis.3 redis:3.0.5 worker1 Running Running 9 seconds
- 8ryt076polmc redis.4 redis:3.0.5 worker1 Running Running 9 seconds
- 1x0v8yomsncd redis.5 redis:3.0.5 manager1 Running Running 8 seconds
- 71v7je3el7rr redis.6 redis:3.0.5 worker2 Running Running 9 seconds
- 4l3zm9b7tfr7 redis.7 redis:3.0.5 worker2 Running Running 9 seconds
- 9tfpyixiy2i7 redis.8 redis:3.0.5 worker1 Running Running 9 seconds
- 3w1wu13yupln redis.9 redis:3.0.5 manager1 Running Running 8 seconds
- 8eaxrb2fqpbn redis.10 redis:3.0.5 manager1 Running Running 8 seconds
+ 0qihejybwf1x redis.1 redis:7.4.0 manager1 Running Running 8 seconds
+ bk658fpbex0d redis.2 redis:7.4.0 worker2 Running Running 9 seconds
+ 5ls5s5fldaqg redis.3 redis:7.4.0 worker1 Running Running 9 seconds
+ 8ryt076polmc redis.4 redis:7.4.0 worker1 Running Running 9 seconds
+ 1x0v8yomsncd redis.5 redis:7.4.0 manager1 Running Running 8 seconds
+ 71v7je3el7rr redis.6 redis:7.4.0 worker2 Running Running 9 seconds
+ 4l3zm9b7tfr7 redis.7 redis:7.4.0 worker2 Running Running 9 seconds
+ 9tfpyixiy2i7 redis.8 redis:7.4.0 worker1 Running Running 9 seconds
+ 3w1wu13yupln redis.9 redis:7.4.0 manager1 Running Running 8 seconds
+ 8eaxrb2fqpbn redis.10 redis:7.4.0 manager1 Running Running 8 seconds
```
In addition to running tasks, the output also shows the task history. For
- example, after updating the service to use the `redis:3.0.6` image, the output
+ example, after updating the service to use the `redis:7.4.1` image, the output
may look like this:
```console
$ docker service ps redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- 50qe8lfnxaxk redis.1 redis:3.0.6 manager1 Running Running 6 seconds ago
- ky2re9oz86r9 \_ redis.1 redis:3.0.5 manager1 Shutdown Shutdown 8 seconds ago
- 3s46te2nzl4i redis.2 redis:3.0.6 worker2 Running Running less than a second ago
- nvjljf7rmor4 \_ redis.2 redis:3.0.6 worker2 Shutdown Rejected 23 seconds ago "No such image: redis@sha256:6…"
- vtiuz2fpc0yb \_ redis.2 redis:3.0.5 worker2 Shutdown Shutdown 1 second ago
- jnarweeha8x4 redis.3 redis:3.0.6 worker1 Running Running 3 seconds ago
- vs448yca2nz4 \_ redis.3 redis:3.0.5 worker1 Shutdown Shutdown 4 seconds ago
- jf1i992619ir redis.4 redis:3.0.6 worker1 Running Running 10 seconds ago
- blkttv7zs8ee \_ redis.4 redis:3.0.5 worker1 Shutdown Shutdown 11 seconds ago
+ 50qe8lfnxaxk redis.1 redis:7.4.1 manager1 Running Running 6 seconds ago
+ ky2re9oz86r9 \_ redis.1 redis:7.4.0 manager1 Shutdown Shutdown 8 seconds ago
+ 3s46te2nzl4i redis.2 redis:7.4.1 worker2 Running Running less than a second ago
+ nvjljf7rmor4 \_ redis.2 redis:7.4.1 worker2 Shutdown Rejected 23 seconds ago "No such image: redis@sha256:6…"
+ vtiuz2fpc0yb \_ redis.2 redis:7.4.0 worker2 Shutdown Shutdown 1 second ago
+ jnarweeha8x4 redis.3 redis:7.4.1 worker1 Running Running 3 seconds ago
+ vs448yca2nz4 \_ redis.3 redis:7.4.0 worker1 Shutdown Shutdown 4 seconds ago
+ jf1i992619ir redis.4 redis:7.4.1 worker1 Running Running 10 seconds ago
+ blkttv7zs8ee \_ redis.4 redis:7.4.0 worker1 Shutdown Shutdown 11 seconds ago
```
The number of items in the task history is determined by the
@@ -130,10 +130,10 @@ examples: |-
$ docker service ps --no-trunc redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- 50qe8lfnxaxksi9w2a704wkp7 redis.1 redis:3.0.6@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 manager1 Running Running 5 minutes ago
- ky2re9oz86r9556i2szb8a8af \_ redis.1 redis:3.0.5@sha256:f8829e00d95672c48c60f468329d6693c4bdd28d1f057e755f8ba8b40008682e worker2 Shutdown Shutdown 5 minutes ago
- bk658fpbex0d57cqcwoe3jthu redis.2 redis:3.0.6@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 worker2 Running Running 5 seconds
- nvjljf7rmor4htv7l8rwcx7i7 \_ redis.2 redis:3.0.6@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 worker2 Shutdown Rejected 5 minutes ago "No such image: redis@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842"
+ 50qe8lfnxaxksi9w2a704wkp7 redis.1 redis:7.4.1@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 manager1 Running Running 5 minutes ago
+ ky2re9oz86r9556i2szb8a8af \_ redis.1 redis:7.4.0@sha256:f8829e00d95672c48c60f468329d6693c4bdd28d1f057e755f8ba8b40008682e worker2 Shutdown Shutdown 5 minutes ago
+ bk658fpbex0d57cqcwoe3jthu redis.2 redis:7.4.1@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 worker2 Running Running 5 seconds
+ nvjljf7rmor4htv7l8rwcx7i7 \_ redis.2 redis:7.4.1@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842 worker2 Shutdown Rejected 5 minutes ago "No such image: redis@sha256:6a692a76c2081888b589e26e6ec835743119fe453d67ecf03df7de5b73d69842"
```
### Filtering (--filter) {#filter}
@@ -159,8 +159,8 @@ examples: |-
$ docker service ps -f "id=8" redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- 8ryt076polmc redis.4 redis:3.0.6 worker1 Running Running 9 seconds
- 8eaxrb2fqpbn redis.10 redis:3.0.6 manager1 Running Running 8 seconds
+ 8ryt076polmc redis.4 redis:7.4.1 worker1 Running Running 9 seconds
+ 8eaxrb2fqpbn redis.10 redis:7.4.1 manager1 Running Running 8 seconds
```
#### name
@@ -171,7 +171,7 @@ examples: |-
$ docker service ps -f "name=redis.1" redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- qihejybwf1x5 redis.1 redis:3.0.6 manager1 Running Running 8 seconds
+ qihejybwf1x5 redis.1 redis:7.4.1 manager1 Running Running 8 seconds
```
@@ -183,10 +183,10 @@ examples: |-
$ docker service ps -f "node=manager1" redis
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
- 0qihejybwf1x redis.1 redis:3.0.6 manager1 Running Running 8 seconds
- 1x0v8yomsncd redis.5 redis:3.0.6 manager1 Running Running 8 seconds
- 3w1wu13yupln redis.9 redis:3.0.6 manager1 Running Running 8 seconds
- 8eaxrb2fqpbn redis.10 redis:3.0.6 manager1 Running Running 8 seconds
+ 0qihejybwf1x redis.1 redis:7.4.1 manager1 Running Running 8 seconds
+ 1x0v8yomsncd redis.5 redis:7.4.1 manager1 Running Running 8 seconds
+ 3w1wu13yupln redis.9 redis:7.4.1 manager1 Running Running 8 seconds
+ 8eaxrb2fqpbn redis.10 redis:7.4.1 manager1 Running Running 8 seconds
```
#### desired-state
diff --git a/data/engine-cli/docker_service_scale.yaml b/data/engine-cli/docker_service_scale.yaml
index 7aac0d255d..6ac7ce8675 100644
--- a/data/engine-cli/docker_service_scale.yaml
+++ b/data/engine-cli/docker_service_scale.yaml
@@ -96,7 +96,7 @@ examples: |-
ID NAME MODE REPLICAS IMAGE
3pr5mlvu3fh9 frontend replicated 5/5 nginx:alpine
- 74nzcxxjv6fq backend replicated 3/3 redis:3.0.6
+ 74nzcxxjv6fq backend replicated 3/3 redis:7.4.1
```
deprecated: false
hidden: false
diff --git a/data/engine-cli/docker_system_events.yaml b/data/engine-cli/docker_system_events.yaml
index 0419933544..eef3dccfe6 100644
--- a/data/engine-cli/docker_system_events.yaml
+++ b/data/engine-cli/docker_system_events.yaml
@@ -125,7 +125,7 @@ long: |-
#### Limit events by time (--since, --until) {#since}
The `--since` and `--until` parameters can be Unix timestamps, date formatted
- timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
+ timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
relative to the client machine’s time. If you do not provide the `--since` option,
the command returns only new and/or live events. Supported formats for date
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
diff --git a/data/engine-cli/docker_system_prune.yaml b/data/engine-cli/docker_system_prune.yaml
index ffa0df8f07..1ae98cdc2e 100644
--- a/data/engine-cli/docker_system_prune.yaml
+++ b/data/engine-cli/docker_system_prune.yaml
@@ -144,7 +144,7 @@ examples: |-
* label (`label=`, `label==`, `label!=`, or `label!==`) - only remove containers, images, networks, and volumes with (or without, in case `label!=...` is used) the specified labels.
The `until` filter can be Unix timestamps, date formatted
- timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed
+ timestamps, or Go duration strings supported by [ParseDuration](https://pkg.go.dev/time#ParseDuration) (e.g. `10m`, `1h30m`) computed
relative to the daemon machine’s time. Supported formats for date
formatted time stamps include RFC3339Nano, RFC3339, `2006-01-02T15:04:05`,
`2006-01-02T15:04:05.999999999`, `2006-01-02T07:00`, and `2006-01-02`. The local
diff --git a/go.mod b/go.mod
index 8062e667c5..9f2ade109a 100644
--- a/go.mod
+++ b/go.mod
@@ -4,18 +4,18 @@ go 1.23.1
require (
github.com/docker/buildx v0.19.2 // indirect
- github.com/docker/cli v27.4.0-rc.2+incompatible // indirect
+ github.com/docker/cli v27.4.0+incompatible // indirect
github.com/docker/compose/v2 v2.31.0 // indirect
github.com/docker/scout-cli v1.15.0 // indirect
github.com/moby/buildkit v0.18.0 // indirect
- github.com/moby/moby v27.3.1+incompatible // indirect
+ github.com/moby/moby v27.4.0+incompatible // indirect
)
replace (
github.com/docker/buildx => github.com/docker/buildx v0.19.2
- github.com/docker/cli => github.com/docker/cli v27.3.2-0.20241107125754-eb986ae71b0c+incompatible
+ github.com/docker/cli => github.com/docker/cli v27.4.0+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.31.0
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
github.com/moby/buildkit => github.com/moby/buildkit v0.18.0
- github.com/moby/moby => github.com/moby/moby v27.3.1+incompatible
+ github.com/moby/moby => github.com/moby/moby v27.4.0+incompatible
)
diff --git a/go.sum b/go.sum
index 55091c57e4..628d1d59fc 100644
--- a/go.sum
+++ b/go.sum
@@ -136,6 +136,8 @@ github.com/docker/cli v27.3.1+incompatible h1:qEGdFBF3Xu6SCvCYhc7CzaQTlBmqDuzxPD
github.com/docker/cli v27.3.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v27.3.2-0.20241107125754-eb986ae71b0c+incompatible h1:KqHavmeo5+ct30Z2UKxbVhUEfuzI9JZFgPdVVaWS4Uc=
github.com/docker/cli v27.3.2-0.20241107125754-eb986ae71b0c+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
+github.com/docker/cli v27.4.0+incompatible h1:/nJzWkcI1MDMN+U+px/YXnQWJqnu4J+QKGTfD6ptiTc=
+github.com/docker/cli v27.4.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/compose-cli v1.0.35 h1:uZyEHLalfqBS2PiTpA1LAULyJmuQ+YtZg7nG4Xl3/Cc=
github.com/docker/compose-cli v1.0.35/go.mod h1:mSXI4hFLpRU3EtI8NTo32bNwI0UXSr8jnq+/rYjGAUU=
github.com/docker/compose/v2 v2.22.0 h1:3rRz4L7tPU75wRsV8JZh2/aTgerQvPa1cpzZN+tHqUY=
@@ -355,6 +357,8 @@ github.com/moby/moby v27.3.0+incompatible h1:AhSu/R7C5uiyd+JCts3kxrKyTzXa3FilBJ0
github.com/moby/moby v27.3.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/moby v27.3.1+incompatible h1:KQbXBjo7PavKpzIl7UkHT31y9lw/e71Uvrqhr4X+zMA=
github.com/moby/moby v27.3.1+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
+github.com/moby/moby v27.4.0+incompatible h1:jGXXZCMAmFZS9pKsQqUt9yAPHOC450PM9lbQYPSQnuc=
+github.com/moby/moby v27.4.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=