I have edit the docker service file under:
/etc/systemd/system/multi-user.target.wants/docker.service
and set the --icc flag to false
ExecStart=/usr/bin/dockerd -H fd:// --icc=false
when restarting the docker daemon with the commands:
sudo systemctl daemon-reload
sudo systemctl restart docker
it’s failed to start and exit with the below error:
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
while I set the --icc flag from within the daemon.json everything works as expected.
Any idea why I’m getting the error while try to set the --icc flag in the docker.service file ?