David Karlsson
bff22cbacf
docs: add links to volume ls, network ls, stack ps formatting examples
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 878b1c55b7 )
2024-01-03 17:05:27 +01:00
Per Lundberg
a976e5084a
exec.md: remove misleading part
...
"By default" implies that this is something which could be
disabled for an individual `docker exec` call. This doesn't seem
to be the case, so removing the "by default" part would make
these docs clearer to me.
Signed-off-by: Per Lundberg <per.lundberg@hibox.tv >
(cherry picked from commit a431b1dda6 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:52:34 +01:00
TheRealGramdalf
3ab117e7cd
Fix typo in dockerd reference documentation
...
Signed-off-by: Graeme Wiebe <graeme.wiebe@gmail.com >
(cherry picked from commit e93ec2f6a6 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:52:22 +01:00
Sebastiaan van Stijn
f9cdb6f96a
docs: update debian examples to use bookworm
...
"bullseye" is no longer the "latest" debian, so these
examples were now incorrect.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 6468c63c81 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:51:18 +01:00
Hugo Chastel
13a7d571a1
Add zstd as supported in load command doc
...
Signed-off-by: Hugo Chastel <Hugo-C@users.noreply.github.com >
(cherry picked from commit f387558b55 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:51:06 +01:00
saurabh
55cec698b7
--env-file about comments doc updated
...
Signed-off-by: Saurabh Kumar <saurabhkumar0184@gmail.com >
(cherry picked from commit efc9236794 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:50:52 +01:00
Sebastiaan van Stijn
9df8eb2b9c
docs: update redirect metadata for hugo
...
docs.docker.com switched from Jekyll to Hugo, which uses "aliases"
instead of "redirect_from".
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 07338fe965 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-12-11 21:50:38 +01:00
Sebastiaan van Stijn
65bc42b4af
Merge pull request #4682 from thaJeztah/24.0_backport_noraw
...
[24.0 backport] docs: remove "{% raw %}" / "{% endraw %}" Jekyl (liquid) leftovers
2023-11-28 10:26:40 +01:00
Sebastiaan van Stijn
207d9edaa7
docs: reference/commandlin/cli: remove redundant italic
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 354f62f0c5 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-11-27 22:06:20 +01:00
Sebastiaan van Stijn
e799792d8a
docs: remove "{% raw %}" / "{% endraw %}" Jekyl (liquid) leftovers
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit e2626200aa )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-11-27 22:06:20 +01:00
Sebastiaan van Stijn
327b84fcbf
docs/man: fix -name flag with single hyphen
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 174cbb588f )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-11-27 21:00:38 +01:00
David Karlsson
88a745999d
docs: add default-network-opt daemon option
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 848fe622ce )
2023-11-06 13:23:17 +01:00
Sam Thibault
54d83fbbf4
Add docker ps status descriptions
...
Signed-off-by: Sam Thibault <sam.thibault@docker.com >
(cherry picked from commit 8bf121c3bc )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-10-23 12:34:39 +02:00
Sebastiaan van Stijn
f2a3d50b30
docs: fix duplicate words in "docker tag" reference
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 3a16c3bb09 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-14 13:45:34 +02:00
Sebastiaan van Stijn
fab55e13ce
cli/command/system: fix "docker events" not supporting --format=json
...
Before this patch:
docker events --format=json
json
json
json
^C
With this patch:
docker events --format=json
{"status":"create","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"create","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508190136885}
{"status":"attach","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"attach","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508192851593}
{"Type":"network","Action":"connect","Actor":{"ID":"c54920dd5074a73e28bea62007e0334d81cc040a90372be311cf16806403d350","Attributes":{"container":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","name":"bridge","type":"bridge"}},"scope":"local","time":1693168508,"timeNano":1693168508212398802}
{"status":"start","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"start","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508312969843}
^C
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 6dfdd1eae9 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-29 17:36:44 +02:00
Sebastiaan van Stijn
8e0393932b
update cli-docs-tool to v0.6.0
...
release notes: https://github.com/docker/cli-docs-tool/releases/tag/v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 17f4c8259b )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-28 22:58:11 +02:00
Sebastiaan van Stijn
efd052eb85
docs/reference: run.md: remove stray whitespace
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 3d2aac6a0d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-28 22:43:15 +02:00
Sebastiaan van Stijn
e9f843bf04
docs/reference: update links to Go documentation
...
Go documentation moved to the `go.dev` domain;
curl -sI https://golang.org/doc/install/source#environment | grep 'location'
location: https://go.dev/doc/install/source
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit dc4feccb89 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-25 17:04:36 +02:00
Sebastiaan van Stijn
daeee46977
update flag-description for --cgroup-parent
...
This attempts to make it clearer that the --cgroup-parent option is only used
for the containers used during build. Instead of mentioning "build container",
I opted for using "RUN instructions" (to match the --network description),
although this may not be ideal (as it assumes the "Dockerfile" front-end, which
of course may not be the case).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit e050312e6d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-25 17:03:46 +02:00
Ed Morley
08ad72160f
Update docs/command output for volume pruning
...
In previous versions of the Docker API, `system prune --volumes` and `volume prune`
would remove all dangling volumes. With API v1.42, this was changed so that only
anonymous volumes would be removed unless the all filter was specified.
Some of the docs were updated in #4218 , however, there were a couple of places
left that didn't make the anonymous vs named volumes distinction clear.
This replaces #4079 , which was bitrotted by #4218 . See also #4028 .
Closes #4079 .
Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com >
(cherry picked from commit 6e2e92d774 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-25 17:03:13 +02:00
Sebastiaan van Stijn
3c4fe7b3e6
docs: add missing docs for "DOCKER_TLS" env-var
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit b52fd79f1d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-25 17:02:22 +02:00
Sebastiaan van Stijn
27a19966fb
Merge pull request #4491 from dvdksn/24.0_backport_docs/host-gateway
...
[24.0 Backport] docs: document special host-gateway value for add-host
2023-08-09 13:28:05 +02:00
David Karlsson
a8987063b3
docs: document special host-gateway value for add-host
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 299925f4c3 )
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-08-09 09:19:14 +02:00
David Karlsson
1447974b83
docs: rephrase section on credential stores for docker login
...
Signed-off-by: David Karlsson <david.karlsson@docker.com >
(cherry picked from commit 9828575314 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-07-15 00:13:51 +02:00
David Karlsson
a78fd6ca69
docs: update link location for the overlay driver
...
File location changes in docker/docs#17176
Signed-off-by: David Karlsson <david.karlsson@docker.com >
(cherry picked from commit 035e26fb0b )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-06-27 09:28:19 +02:00
David Karlsson
9cd335d44b
docs: fix static ip example, network needs a subnet
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 5936fd2a86 )
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-06-26 17:04:24 +02:00
David Karlsson
d61e4fe879
docs: fix broken link
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit b85d6a8f9e )
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-06-26 15:11:55 +02:00
David Karlsson
c3ef1ceadf
docs: update the runtime configuration section
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
(cherry picked from commit 6c7d17fa01 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-06-26 12:46:56 +02:00
Sebastiaan van Stijn
11af1189d7
docs: add "--detach-keys" example to docker run reference
...
This is a copy of the section we have on the "docker attach" reference page.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 47951ff446 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-06-09 10:07:19 +02:00
Sebastiaan van Stijn
f118c05e87
docs: move "--detach-keys" example to examples section
...
Also adds a named anchor, so that the section gets linked from the
options table.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit c17b0df2a5 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-06-09 10:07:19 +02:00
Sebastiaan van Stijn
298e67926e
docs: fix example for proxies in daemon.json
...
commit c846428cb6 added proxies to the
example `daemon.json`, based on the implementation that was added in
https://github.com/moby/moby/commit/427c7cc5f86364466c7173e8ca59b97c3876471d .
However, a follow-up pull request changed the proxy-configuration in`daemon.json`
to nest the configuration in a "proxies" struct, and the documentation was
not updated accordingly; see:
https://github.com/moby/moby/commit/101dafd049949a4da65dcefd495828a6644e1ce1
This patch fixes the example.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 2713d0bcde )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 17:29:30 +02:00
A. Lester Buck III
beb0330a72
Correct "ps --no-trunc" example output
...
Signed-off-by: A. Lester Buck III <github-reg@nbolt.com >
(cherry picked from commit 988e37956d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 14:38:03 +02:00
Sebastiaan van Stijn
405be90634
docs: remove AuFS from glossary
...
The AuFS storage driver was deprecated and now removed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit b222900520 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 14:37:51 +02:00
Sebastiaan van Stijn
7a269817b5
docs: remove Docker Toolbox from glossary
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit e4211c91ed )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 14:37:51 +02:00
Sebastiaan van Stijn
41ef7c45cc
docs: remove boot2docker and docker-machine from glossary
...
boot2docker is deprecated, and so is docker-machine
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit c246ea8517 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 14:37:48 +02:00
Sebastiaan van Stijn
e7a60449f7
docs: remove aufs and legacy overlay
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 9f537a756e )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 01:23:37 +02:00
Craig Osterhout
3768143c2e
Update tag docs to clarify name
...
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com >
(cherry picked from commit 4119d268e7 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-09 22:08:47 +02:00
David Karlsson
52ac1a974c
docs: update description for docker -H flag
...
Signed-off-by: David Karlsson <david.karlsson@docker.com >
(cherry picked from commit 759fa585cf )
Signed-off-by: David Karlsson <david.karlsson@docker.com >
2023-05-08 15:16:07 +02:00
Brian Goff
f4201b9302
Merge pull request #4073 from panekj/feat/ssh-socket-path
...
connhelper: Allow socket path when using SSH
2023-05-05 15:50:18 -07:00
Sebastiaan van Stijn
9f15ba0d13
Merge pull request #4156 from AkihiroSuda/docker-run-annotation
...
cli/command/container: implement `docker run --annotation`
2023-05-06 00:49:15 +02:00
Chris Chinchilla
e693e7f3b4
Docs freshness updates
...
Signed-off-by: Chris Chinchilla <chris.ward@docker.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-26 15:37:12 +02:00
Sebastiaan van Stijn
0dec5d20a2
volumes: prune: add --all / -a option
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-20 23:31:47 +02:00
Akihiro Suda
88be16cb5b
cli/command/container: implement docker run --annotation
...
For moby/moby PR 45025 (Docker v24, API v1.43).
`docker run --annotation foo=bar` is similar to `podman run --annotation foo=bar`,
however, unlike Podman, Docker implementation also accepts an annotation with an empty value.
(`docker run --annotation foo`)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-04-14 12:59:12 +09:00
Sebastiaan van Stijn
60d0659e40
Merge pull request #4199 from thaJeztah/docs_daemon_proxy_config
...
docs/reference: update dockerd docs for changes in 23.0
2023-04-13 21:55:50 +02:00
Sebastiaan van Stijn
375b17a312
docker info: don't print "registry" (IndexServerAddress)
...
The IndexServerAddress field was as part of the initial Windows implementation
of the engine. For legal reasons, Microsoft Windows (and thus Docker images
based on Windows) were not allowed to be distributed through non-Microsoft
infrastructure. As a temporary solution, a dedicated "registry-win-tp3.docker.io"
registry was created to serve Windows images.
Currently, this field always shows "https://index.docker.io/v1/ ", which is
confusing, because that address is not used for the registry (only for
authentication and "v1" search).
docker info
...
Registry: https://index.docker.io/v1/
Starting with b4ca1c7368 , this field is also
no longer used during authentication, and a3d56e7d06
removed the (deprecated) ElectAuthServer() which was previously used to
query it.
Given that there's currently no practical use for this information, and
it only adds "noise" (and confusion), this patch removes it from the default
output.
For now, the field is (still) available for those that want to use it;
docker info --format '{{.IndexServerAddress}}'
https://index.docker.io/v1/
But it won't be printed by default.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-13 14:49:14 +02:00
Sebastiaan van Stijn
c846428cb6
docs: update dockerd usage output for new proxy-options
...
Adds documentation for the options that were added in
https://github.com/moby/moby/commit/427c7cc5f86364466c7173e8ca59b97c3876471d
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-12 18:47:00 +02:00
Sebastiaan van Stijn
c730a8eb95
docs/reference: dockerd: remove default oom-score-adjust
...
The daemon no longer adjusts its oom-score by default; see
- https://github.com/moby/moby/commit/2b8e68ef06ca3daf2b0e17e51ba72999773b6270
- https://github.com/moby/moby/commit/cf7a5be0f2ee8bb4a3f7961682e13b89bc625299
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-12 18:45:20 +02:00
Sebastiaan van Stijn
c209743612
docs/reference: dockerd: update seccomp flag description
...
Update the description for the changes made in;
https://github.com/moby/moby/commit/68e96f88ee1598563a66a1f53b8844291423fc88
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-12 18:41:27 +02:00
Sebastiaan van Stijn
32bc912008
docs/reference: dockerd: use table for env-vars
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-12 18:27:40 +02:00
Sebastiaan van Stijn
3701748000
docs/reference: use table for proxy env-vars
...
Adding a description based on the Go documentation.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-04-12 18:19:39 +02:00