Operating System: Debian GNU/Linux 10
KDE Plasma Version: 5.14.5
Qt Version: 5.11.3
KDE Frameworks Version: 5.54.0
Kernel Version: 4.19.0-17-amd64
OS Type: 64-bit
Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor
Memory: 15.6 GiB of RAM
Hi All,
I'm still having installation problems with Docker. I followed the
Digital Ocean instructions for Debian 10 to the letter. Everything went
fine until I tried to run the test case. I got the following:
root@debian:/home/gary# docker run hello-world
docker: Cannot connect to the Docker daemon at
unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
root@debian:/var/lib/docker# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-07-05 12:43:13
PDT; 2 days ago
Docs: https://docs.docker.com
Main PID: 1026 (code=exited, status=1/FAILURE)
Jul 05 12:43:13 debian systemd[1]: docker.service: Service
RestartSec=2s expired, scheduling restart.
Jul 05 12:43:13 debian systemd[1]: docker.service: Scheduled restart
job, restart counter is at 3.
Jul 05 12:43:13 debian systemd[1]: Stopped Docker Application
Container Engine.
Jul 05 12:43:13 debian systemd[1]: docker.service: Start request
repeated too quickly.
Jul 05 12:43:13 debian systemd[1]: docker.service: Failed with result
'exit-code'.
Jul 05 12:43:13 debian systemd[1]: Failed to start Docker Application
Container Engine.
I suspect that something might be wrong with the /etc/apt/daemon.json
file but am not sure what.
root@debian:/etc/docker# less daemon.json
{
"debug": true,
"tls": true,
"tlscert": "/var/docker/server.pem",
"tlskey": "/var/docker/serverkey.pem",
"hosts": ["tcp://192.168.254.12:2376"]
}
My installation doesn't seem to be very stable. I'm using the free
community edition if that helps. Any help will be sincerely appreciated.
Gary R.