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

Re: Docker installation problems



On 7/8/21 6:48 PM, Gary L. Roach wrote:

On 7/7/21 4:43 PM, IL Ka wrote:

    I suspect that something might be wrong with the /etc/apt/daemon.json
    file but am not sure what.

try
# dockerd
https://docs.docker.com/config/daemon/#start-the-daemon-manually <https://docs.docker.com/config/daemon/#start-the-daemon-manually>

Do you see any errors?

Running dockerd produced the following:

root@debian:/etc/docker# dockerd
INFO[2021-07-08T09:44:02.344680610-07:00] Starting up
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?

Gary R.


From my little experience, the default docker-ce installation comes without daemon.json file. Try to remove it and see if docker comes up.

It also doesn't look like Debian related issue tbh, since it is a third party package.

Alex


Reply to: