I’m struggling to install docker on my new Vero 4K.
I’ve followed this guide:
It returns:
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2021-11-05 00:07:55 UTC; 26ms ago
Docs: https://docs.docker.com
Process: 7572 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 7572 (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
Processing triggers for systemd (241-7~deb10u8) ...
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
What am I missing? It worked fine on my rpi3…
Hi
What’s the output of systemctl status docker.service
as advised when installing?
Can you post full logs so we can see if you are up to date?
Output of the systemctl:
osmc@osmc:~$ systemctl status docker.service
* docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-11-05 00:37:00 UTC; 8h ago
Docs: https://docs.docker.com
Process: 9084 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 9084 (code=exited, status=1/FAILURE)
Nov 05 00:37:00 osmc systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Nov 05 00:37:00 osmc systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Nov 05 00:37:00 osmc systemd[1]: Stopped Docker Application Container Engine.
Nov 05 00:37:00 osmc systemd[1]: docker.service: Start request repeated too quickly.
Nov 05 00:37:00 osmc systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 05 00:37:00 osmc systemd[1]: Failed to start Docker Application Container Engine.
Logs:
[https://paste.osmc.tv/enalayoyud]
I had to set the ip tables to legacy to get docker to work on my vero 4k .
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
update-alternatives --set arptables /usr/sbin/arptables-legacy
update-alternatives --set ebtables /usr/sbin/ebtables-legacy
Hi,
Should only need to set for iptables for ipv4:
Thanks Tom.