[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Docker installation problems

failed to create API server: Could not load X509 key pair (cert: "/var/docker/server.pem", key: "/var/docker/serverkey.pem"): open /var/docker/server.pem: no such file or directory
On my system the /var/docker directory doesn't exist. Further, server.pem doesn't exist anywhere on my system. Now what?

But in your ``daemon.json`` you explicitly asked for TLS and even provided a path to these files.
(to enable TLS one needs a certificate (with public key) and private key for it)

Let's see if docker works without this file.

# mv /etc/docker/daemon.json /etc/docker/daemon.json.back
# dockerd

if it works, start it with ``systemd`` and see if it works

Reply to: