Q: Kubernetes Install on CoreOS showing Dependency failed for Docker Application Container Engine

5/20/2016

Dependency failed for Docker Application Container Engine. May 20 13:06:52 localhost systemd[1]: docker.service: Job docker.service/start failed with result 'dependency' when I do a systemctl status docker.

Using the CoreOS install documentation, Kubelet(master) all on same node.

Where would I start looking to debug this from?

-- Gazzer
coreos
kubernetes

1 Answer

9/7/2016

I know it's a little late, but I think you need to ensure flanneld.service service is running. If you're following the CoreOS step-by-step documentation for building a Kubernetes cluster with CoreOS, then flanneld is a dependency for the docker engine.

If you made a systemd drop-in replacement in /etc/systemd/system/docker.service.d/40-flannel.conf, then that is most likely the case as evidenced here:

[Unit] Requires=flanneld.service After=flanneld.service

-- wesley
Source: StackOverflow