Docker
Docker daemon failed to start because daemon.json conflicts with startup flags
Docker found the same daemon setting in both daemon.json and startup flags, causing the daemon to fail during startup because the configuration sources conflict.
Docker
Docker found the same daemon setting in both daemon.json and startup flags, causing the daemon to fail during startup because the configuration sources conflict.
Observed message
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: hosts
Why it happens
How to fix it
Official reference
Docker Docs: Troubleshooting the Docker daemonRelated errors
Explore more