Docker service fails to start with error "following directives are specified both as a flag and in the configuration file"
Issue
- Docker service fails with the following error:
level=fatal msg="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: log-driver: (from flag: journald, from file: syslog)\n"
- Not able to start docker daemon with error
level=fatal msg="unable to configure the Docker daemon with file /etc/docker/daemon.json
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Atomic Host
- docker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.