Question:
Symptom After the “hosts” key is set, the Docker service starts incorrectly
unable to configure the Docker daemon with file /etc/docker/daemon.json
docker.service: Failed with result 'start-limit-hit'
Copy the code
Solution:
Tips: Journalctl-r-u Docker can view logs
- In the/lib/systemd/system/docker. Service removed – H fd: / /
- systemctl daemon-reload
- systemctl restart docker