mirror of https://github.com/docker/docs.git
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:
parent
5061e7114f
commit
0dd29dccf4
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
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/
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue