Not running docker

Hello! unable to launch docker on debian
I don’t even know where to look at what it lacks, I tried to remove and install, but it doesn’t work, at the time of installation, it also runs that it can’t install docker-ce

This happened after transferring from a VM from vmware to proxmox

root@server:/# docker ps -a
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
root@server:/# 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@dokku:/# 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 Tue 2022-04-26 10:30:13 MSK; 1min 30s ago
     Docs: https://docs.docker.com
  Process: 3017 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=2)
 Main PID: 3017 (code=exited, status=2)

Apr 26 10:30:11 server systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 26 10:30:11 server systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 26 10:30:11 server systemd[1]: Failed to start Docker Application Container Engine.
Apr 26 10:30:13 server systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Apr 26 10:30:13 server systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Apr 26 10:30:13 server systemd[1]: Stopped Docker Application Container Engine.
Apr 26 10:30:13 server systemd[1]: docker.service: Start request repeated too quickly.
Apr 26 10:30:13 server systemd[1]: docker.service: Failed with result 'exit-code'.
Apr 26 10:30:13 server systemd[1]: Failed to start Docker Application Container Engine.

root@server:/# journalctl -fu docker
– Logs begin at Tue 2022-04-26 09:55:07 MSK. –
Apr 26 10:25:06 server dockerd[2700]: /go/src/github.com/docker/docker/cmd/dockerd/docker.go:97 +0x185
Apr 26 10:25:06 server systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 26 10:25:06 server systemd[1]: docker.service: Failed with result ‘exit-code’.
Apr 26 10:25:06 server systemd[1]: Failed to start Docker Application Container Engine.
Apr 26 10:25:09 server systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Apr 26 10:25:09 server systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Apr 26 10:25:09 server systemd[1]: Stopped Docker Application Container Engine.
Apr 26 10:25:09 server systemd[1]: docker.service: Start request repeated too quickly.
Apr 26 10:25:09 server systemd[1]: docker.service: Failed with result ‘exit-code’.
Apr 26 10:25:09 server systemd[1]: Failed to start Docker Application Container Engine.

Hi, can you try and run “dockerd” as root and see what error it provides?

I’m already working under root, sudo doesn’t work. already something like sudo su
systemctl start docker What other option can I do to start?

Just try and run “dockerd” as root, or “sudo dockerd”, then it will start docker in the forground so you can see what error it provides

Last year I migrated my homelab from ESXi to Proxmox 7.x and can’t say that I share your experience (I migrated 9 nodes in 2 clusters without issues).

Are you sure /etc/docker/daemon.json is valid and /lib/systemd/system/docker.service has no changes that might lead to the issue? At least INVALIDARGUMENT makes me think something is configured in a way it is not supposed to be configured.

Thank you very much for your attention, the problem was in the disk, apparently the disk was broken during the transfer, downloaded again, it works.