Docker.service: inactive (status=1/FAILURE)

Hello, I am trying to start docker in my linux PC, but it keeps showing errors and I don’t know why.

I tried to remove and reinstall docker, but the openssh-server suddenly shows another error:

Setting up openssh-server (1:9.6p1-3ubuntu13.8) …
dpkg: error processing package openssh-server (–configure):
installed openssh-server package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

But the command “systemctl status ssh” doesn’t show any error:

● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)
Active: active (running) since Thu 2025-02-20 09:42:28 KST; 14min ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 15102 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 15109 (sshd)
Tasks: 1 (limit: 308706)
Memory: 1.2M (peak: 1.8M)
CPU: 41ms
CGroup: /system.slice/ssh.service
└─15109 “sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups”

Feb 20 09:42:28 limitless systemd[1]: Starting ssh.service - OpenBSD Secure Shell server…
Feb 20 09:42:28 limitless sshd[15109]: Server listening on 0.0.0.0 port 22.
Feb 20 09:42:28 limitless sshd[15109]: Server listening on :: port 22.
Feb 20 09:42:28 limitless systemd[1]: Started ssh.service - OpenBSD Secure Shell server.

Anyone knows what I can do in this situation?

Where and how did you configure the nvidia-container-runtime?

I tried “sudo nvidia-ctk runtime configure --runtime=docker”. Is this correct?

When you use the --add-runtime CLI flag, use the following format:

sudo dockerd --add-runtime <runtime>=<path>

You only defined a path

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.