This is the default Docker Engine configuration JSON. I once needed to revert and had a difficult time locating this without resetting my whole installation.
This configuration is stored in ~/.docker/daemon.json or can be edited through Docker Desktop preferences.
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"features": {
"buildkit": true
},
"experimental": false
}
Configuration options:
builder.gc- Garbage collection settings to automatically clean up build cachedefaultKeepStorage- Maximum disk space reserved for build cachebuildkit- Enables BuildKit, Docker's improved build backendexperimental- Toggles experimental Docker features
Install Docker for Mac
Follow instructions on the install page.
Install Docker for Windows
Follow instructions on the Windows install page.