[Bjonnh.net]# _

I got a weird docker.service: Job docker.service/start failed with result ‘dependency’.

Looks like it is a recent problem: Docker updated leads to the failed docker service

Their instructions are not completely accurate so here is what I did:

 mkdir -p /etc/systemd/system/containerd.service.d
 echo -e "[Service]\nExecStartPre=\n" > /etc/systemd/system/containerd.service.d/override.conf
 systemctl daemon-reload
 systemctl start docker
 systemctl enable docker

Then I ran in an issue similar to Linux Containers discussion.

With the error docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “process_linux.go:402: container init caused "could not create session key: disk quota exceeded"”: unknown..

Make sure that the sysctl kernel.keys.maxkeys is high enough on your server 50000 for example.

Related pages: