Hi all,
I would like to install docker in LXC but I still have this error in end of the installation (ubuntu or debian...):
someone to refer me?
I would like to install docker in LXC but I still have this error in end of the installation (ubuntu or debian...):
Code:
[...]
TriggeredBy: * docker.socket
Docs: https://docs.docker.com
Process: 11536 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 11536 (code=exited, status=1/FAILURE)
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of docker-ce-rootless-extras:
docker-ce-rootless-extras depends on docker-ce; however:
Package docker-ce is not configured yet.
dpkg: error processing package docker-ce-rootless-extras (--configure):
dependency problems - leaving unconfigured
Setting up liberror-perl (0.17029-1) ...
Setting up git (1:2.27.0-1ubuntu1) ...
Processing triggers for systemd (246.6-1ubuntu1.1) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libc-bin (2.32-0ubuntu3) ...
Errors were encountered while processing:
docker-ce
docker-ce-rootless-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@DockerLXC:~# sudo 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 2021-02-09 22:49:47 UTC; 46s ago
TriggeredBy: * docker.socket
Docs: https://docs.docker.com
Process: 13407 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 13407 (code=exited, status=1/FAILURE)
Feb 09 22:49:47 DockerLXC systemd[1]: docker.service: Scheduled restart job, restart counter is at 4.
Feb 09 22:49:47 DockerLXC systemd[1]: Stopped Docker Application Container Engine.
Feb 09 22:49:47 DockerLXC systemd[1]: docker.service: Start request repeated too quickly.
Feb 09 22:49:47 DockerLXC systemd[1]: docker.service: Failed with result 'exit-code'.
Feb 09 22:49:47 DockerLXC systemd[1]: Failed to start Docker Application Container Engine.
someone to refer me?