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

Re: Docker installation problems



On 7/8/2021 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?


Looks like you need to generate that file (1).


1)
https://stackoverflow.com/questions/57830003/var-docker-server-pem-no-such-file-or-directory

--
John Doe


Reply to: