Commit Graph

49735 Commits

Author SHA1 Message Date
Cory Snider
05d7008419 man: build dockerd man pages using make
Vendor the go-md2man tool used to generate the man pages so that the
only dependency is a Go toolchain.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2024-08-19 14:01:38 -04:00
Grace Choi
b4cee5c3ee Removed all mentions of "please" from docs and messages
Signed-off-by: Grace Choi <gracechoi@utexas.edu>
Signed-off-by: Pranjal Rai <pranjalrai@utexas.edu>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:50 -04:00
David Karlsson
f1ec84314d docs: add default-network-opt daemon option
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-05 17:38:50 -04:00
Sebastiaan van Stijn
23812190c3 docs: remove devicemapper
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:50 -04:00
Kir Kolyshkin
690d166632 man/dockerd.8: assorted formatting fixes
Mostly, this makes sure that literals (such as true, false, host,
private, examples of options usage etc.) are typeset in bold, except for
filenames, which are typeset in italic.

While at it,
 - remove some default values from synopsis as it should not
   be there;
 - fix man pages references (page name in bold, volume number in
   regular).

This is not a complete fix, but a step in the right direction.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-08-05 17:38:50 -04:00
Kir Kolyshkin
374b779dd1 man/dockerd.8: escape asterisks and underscores
1. Escape asterisks and underscores, that have special meaning in
   Markdown. While most markdown processors are smart enough to
   distinguish whether it's a literal * or _ or a formatting directive,
   escaping makes things more explicit.

2. Fix using wrong level of headings in some dm options (most are ####,
   but some were #####).

3. Do not use sub-heading for examples in some dm options (this is how
   it's done in the rest of the man page).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-08-05 17:38:50 -04:00
Sebastiaan van Stijn
386d0c0fbc docs: update dockerd usage output for new proxy-options
Adds documentation for the options that were added in
427c7cc5f8

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:49 -04:00
Ashly Mathew
54971ac807 Fix styling of arguments
Signed-off-by: Ashly Mathew <ashlymathew93@gmail.com>
2024-08-05 17:38:49 -04:00
Luis Henrique Mulinari
a8b8f9b288 Fix the max-concurrent-downloads and max-concurrent-uploads configs documentation
This fix tries to address issues raised in moby/moby#44346.
The max-concurrent-downloads and max-concurrent-uploads limits are applied for the whole engine and not for each pull/push command.

Signed-off-by: Luis Henrique Mulinari <luis.mulinari@gmail.com>
2024-08-05 17:38:49 -04:00
Sebastiaan van Stijn
68e9223289 docs: remove documentation about deprecated cluster-store
This removes documentation related to legacy overlay networks using
an external k/v store.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:49 -04:00
Anca Iordache
6c702167bf Document --validate daemon option
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2024-08-05 17:38:49 -04:00
Sebastiaan van Stijn
af45195a21 Update man-page source MarkDown to work with go-md2man v2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:49 -04:00
Akihiro Suda
562a6d2b13 docs: update for cgroup v2 and rootless
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-08-05 17:38:49 -04:00
Rob Gulewich
7cf2132655 docker run: specify cgroup namespace mode with --cgroupns
Signed-off-by: Rob Gulewich <rgulewich@netflix.com>
2024-08-05 17:38:49 -04:00
Lukas Heeren
1cbcd5d47a daemon: document --max-download-attempts option
update docs based on PR 39949

Signed-off-by: Lukas Heeren <lukas-heeren@hotmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:49 -04:00
taiji-tech
3cfa74724c Update document links and title.
Signed-off-by: taiji-tech <csuhqg@foxmail.com>
2024-08-05 17:38:49 -04:00
selansen
462f38bd8b Allow user to specify default address pools for docker networks This is separate commit for CLI files to address PR 36054
Signed-off-by: selansen <elango.siva@docker.com>
2024-08-05 17:38:49 -04:00
Sebastiaan van Stijn
13ff896b38 Update docs and completion-scripts for deprecated features
- the `--disable-legacy-registry` daemon flag was removed
- duplicate keys with conflicting values for engine labels
  now produce an error instead of a warning.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 17:38:49 -04:00
Renaud Gaubert
f3c3b05b50 Added docs for dockerd
Signed-off-by: Renaud Gaubert <renaud.gaubert@gmail.com>
2024-08-05 17:38:49 -04:00
Abdur Rehman
20f8455562 fix a number of minor typos
Fix 19 typos, grammatical errors and duplicated words.

These fixes have minimal impact on the code as these are either in the
doc files or in comments inside the code files.

Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
2024-08-05 17:38:49 -04:00
Kir Kolyshkin
c23d4b017a Introduce/document new IPC modes
This builds (and depends) on https://github.com/moby/moby/pull/34087

Version 2:
 - remove --ipc argument validation (it is now done by daemon)
 - add/document 'none' value
 - docs/reference/run.md: add a table with better modes description
 - dockerd(8) typesetting fixes

Version 3:
 - remove ipc mode tests from cli/command/container/opts_test.go

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-08-05 17:38:49 -04:00
Aleksa Sarai
25baee8ab9 docs: add documentation for dm.libdm_log_level
This is a new option added specifically to allow for debugging of bugs
in Docker's storage drivers or libdm itself.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2024-08-05 17:38:49 -04:00
Cory Snider
7d3f09a9c3 Restore dockerd man page
Prepare to move the dockerd man page back to this repository from
docker/cli, retaining history.

This partially reverts commit b5579a4ce3.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2024-08-05 17:32:15 -04:00
Paweł Gronowski
20d5f062b4 Merge pull request #48288 from thaJeztah/bump_nydus
vendor: github.com/containerd/nydus-snapshotter v0.14.0
2024-08-05 13:40:10 +02:00
Sebastiaan van Stijn
af84ddec13 vendor: github.com/containerd/nydus-snapshotter v0.14.0
- removes use of deprecated github.com/containerd/containerd/errdefs package
- removes use of deprecated github.com/containerd/containerd/platforms package
- removes use of deprecated github.com/containerd/containerd/reference/docker package
- switch to dario.cat/mergo v1.0.0 dependency
- remove use of deprecated CRI Alpha API

full diff: https://github.com/containerd/nydus-snapshotter/compare/v0.13.14...v0.14.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 11:38:58 +02:00
Sebastiaan van Stijn
1e5c0c4d77 vendor: github.com/containerd/nydus-snapshotter v0.13.14
- removes use of deprecated github.com/containerd/containerd/log package

full diff: https://github.com/containerd/nydus-snapshotter/compare/v0.13.7...v0.13.14

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-05 11:38:57 +02:00
Sebastiaan van Stijn
27b322e56b Merge pull request #48280 from thaJeztah/touchup_security
touch-up security policy
2024-08-02 18:43:58 +02:00
Sebastiaan van Stijn
dfe36fa226 touch-up security policy
Slightly touch-up the security policy in this repository to describe
the process in more details.

- Describe process around reporting, triage, and review.
- Describe timelines for acknowledging reports.
- Refer to supported versions / branches.

Some of this wording was adopted from containerd's policy, adjusting
where needed (e.g. the project currently does not have an embargoed
security announce list, and no formal definition of security advisors).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-02 10:01:48 +02:00
Sebastiaan van Stijn
ddea6b0fa8 Merge pull request #48278 from robmry/v6only/not_windows_or_swarm
IPv6 only: IPv4 is required for Windows and Swarm networks
2024-08-01 16:59:00 +02:00
Rob Murray
034a5a8986 Reject swarm n/w creation with IPv4 disabled.
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-08-01 14:20:27 +01:00
Rob Murray
c91dc7e6dc Reject Windows network creation with IPv4 disabled.
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-08-01 14:20:27 +01:00
Sebastiaan van Stijn
dc39e47483 Merge pull request #48283 from thaJeztah/bump_hcsshim_deps
vendor: golang.org/x/time v0.5.0, google.golang.org/grpc v1.62.0
2024-08-01 14:09:14 +02:00
Sebastiaan van Stijn
d44f869a2d vendor: google.golang.org/grpc v1.62.0
diffs:

- https://github.com/grpc/grpc-go/compare/v1.59.0...v1.62.0
- 83a465c022...ef4313101c
- https://github.com/googleapis/google-api-go-client/compare/v0.149.0...v0.155.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-01 11:12:06 +02:00
Sebastiaan van Stijn
716ec490db vendor: golang.org/x/time v0.5.0
full diff: https://github.com/golang/time/compare/v0.3.0...v0.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-01 11:05:22 +02:00
Sebastiaan van Stijn
bd1d35d721 Merge pull request #48279 from thaJeztah/typo_fixes
plugin, api/types: fix typos and GoDoc
2024-08-01 00:32:08 +02:00
Sebastiaan van Stijn
ac145a82fd api/types: NewHijackedResponse: fix typo in GoDoc
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-31 22:42:55 +02:00
Sebastiaan van Stijn
80822715cd plugin: fix typos in GoDoc
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-31 22:42:52 +02:00
Rob Murray
a43ed47441 Merge pull request #48271 from robmry/v6only/add_option_enable_ipv4
IPv6 only: add API option enable/disable IPv4
2024-07-31 19:21:42 +01:00
Rob Murray
1f542d5d6c Set EnableIPv4 for predefined networks
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-07-31 18:38:43 +01:00
Rob Murray
903daa4dc4 Add flag 'enableIPv4' to libnetwork.Network
Similar to EnableIPv6:
- Set it if EnableIPv4 is specified in a create request.
- Otherwise, set it if included in `default-network-opts`.
  - Apart from in a config-from network, so that it doesn't look
    like the API request set the field.
- Include the new field in  Network marshalling/unmarshalling test.

Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-07-31 18:38:43 +01:00
Rob Murray
d4d8611164 Added API create/inspect option EnableIPv4
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-07-31 18:38:43 +01:00
Sebastiaan van Stijn
376a699830 Merge pull request #48157 from thaJeztah/libnetwork_immutable_radix_v2
libnetwork/networkdb: switch to go-immutable-radix v2
2024-07-31 15:33:16 +02:00
Akihiro Suda
fe875a9449 Merge pull request #48272 from kolyshkin/not-mounted
hack/make: suppress "not mounted" message
2024-07-31 07:34:56 +09:00
Kir Kolyshkin
3279b4f8f4 hack/make: suppress "not mounted" message
The "not mounted" error from .integration-daemon-stop is not an error,
so let's suppress that one (this is the only effect of -q option, at
least according to its man page).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-07-30 13:39:23 -07:00
Rob Murray
a23dcf4798 Bump API version to 1.47
Signed-off-by: Rob Murray <rob.murray@docker.com>
2024-07-30 14:30:26 +01:00
Paweł Gronowski
89bca301be Merge pull request #46772 from neersighted/project_docs
Improve documentation around maintenance, building, and packaging
2024-07-30 10:28:20 +02:00
Sebastiaan van Stijn
0c513d2849 Merge pull request #48244 from thaJeztah/cleanup_cleanups
daemon: assorted cleanups and minor improvements
2024-07-29 19:50:28 +02:00
Sebastiaan van Stijn
4742c060a3 Merge pull request #48252 from thaJeztah/remove_oom_leftovers
libcontainerd/supervisor: remove remnants of adjusting oom-score
2024-07-29 19:08:57 +02:00
Paweł Gronowski
403f9dbc42 project: update supported release branches
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-07-29 18:10:55 +02:00
Sebastiaan van Stijn
32c33dbfd5 Merge pull request #48248 from robmry/ipv6_related_refactoring
IPv6 related refactoring
2024-07-29 17:00:31 +02:00