chore: tier 1 freshness: content/config/daemon/_index.md

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-10-27 15:46:05 +02:00
parent 5061e7114f
commit 0dd29dccf4
1 changed files with 23 additions and 40 deletions

View File

@ -1,28 +1,28 @@
--- ---
description: Configuring and troubleshooting the Docker daemon description: Configuring the Docker daemon
keywords: docker, daemon, configuration, troubleshooting keywords: docker, daemon, configuration
title: Docker daemon configuration overview title: Docker daemon configuration overview
aliases: aliases:
- /articles/chef/ - /articles/chef/
- /articles/configuring/ - /articles/configuring/
- /articles/dsc/ - /articles/dsc/
- /articles/puppet/ - /articles/puppet/
- /config/thirdparty/ - /config/thirdparty/
- /config/thirdparty/ansible/ - /config/thirdparty/ansible/
- /config/thirdparty/chef/ - /config/thirdparty/chef/
- /config/thirdparty/dsc/ - /config/thirdparty/dsc/
- /config/thirdparty/puppet/ - /config/thirdparty/puppet/
- /engine/admin/ - /engine/admin/
- /engine/admin/ansible/ - /engine/admin/ansible/
- /engine/admin/chef/ - /engine/admin/chef/
- /engine/admin/configuring/ - /engine/admin/configuring/
- /engine/admin/dsc/ - /engine/admin/dsc/
- /engine/admin/puppet/ - /engine/admin/puppet/
- /engine/articles/chef/ - /engine/articles/chef/
- /engine/articles/configuring/ - /engine/articles/configuring/
- /engine/articles/dsc/ - /engine/articles/dsc/
- /engine/articles/puppet/ - /engine/articles/puppet/
- /engine/userguide/ - /engine/userguide/
--- ---
This page shows you how to customize the Docker daemon, `dockerd`. This page shows you how to customize the Docker daemon, `dockerd`.
@ -52,23 +52,6 @@ To configure the Docker daemon using a JSON file, create a file at
`/etc/docker/daemon.json` on Linux systems, or `/etc/docker/daemon.json` on Linux systems, or
`C:\ProgramData\docker\config\daemon.json` on Windows. `C:\ProgramData\docker\config\daemon.json` on Windows.
Here's what the configuration file might look like:
```json
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"experimental": false
}
```
In addition to Docker Desktop default values, this configuration enables garbage
collection at a 20GB threshold, and enables buildkit.
Using this configuration file, run the Docker daemon in debug mode, using TLS, and Using this configuration file, run the Docker daemon in debug mode, using TLS, and
listen for traffic routed to `192.168.59.3` on port `2376`. You can learn what listen for traffic routed to `192.168.59.3` on port `2376`. You can learn what
configuration options are available in the configuration options are available in the