How does the Docker daemon get configured?
BeginnerConceptRuntime Stack, OCI & Registries
Answer
By /etc/docker/daemon.json (Linux; ~/.config/docker/daemon.json for rootless) and systemd unit flags. Common keys: data-root, log-driver, log-opts, registry-mirrors, insecure-registries, live-restore, default-address-pools, storage-driver. Restart with systemctl restart docker (use live-restore to keep containers running).
More on Runtime Stack, OCI & Registries
What is the architecture of Docker Engine?IntermediateWhat is the OCI and what specs does it define?IntermediateWhat does `runc` do?IntermediateWhat is containerd and how does it relate to Docker and Kubernetes?IntermediateWhat are `ctr`, `crictl` and `nerdctl`?IntermediateWhat is CRI-O?Intermediate