I have tried the desktop image, and the OMV image, and neither will get docker to start. something is broken.
I attempted to install Rapberry pi os - lite, and that was installed, and CasaOS was installed with it, but was flaky and would lock up after a few hours, looking like the ethernet dropped off (likely because the drivers, for the board were not installed).
Any advice would be great, because I would love to use this solution as a Docker/NAS, and right now... it's doing nothing for me. and super frustrated.
@Attilio Bonaccorso We have updated our downloads page with OMV and Desktop images that have the latest OMV version that supports our DSA Network Interface and adds the needed kernel modules to support Docker. https://www.axzez.com/software-downloads
@Attilio Bonaccorso we have reproduced the issue and will be coming out with a new image that has the necessary updates.
Okay so here is more infor and the exact steps I have taken, and why I am frustrated. I also have put in the any outputs ... if anyone has ideas i am open. This seems like something is broken in the axzez image.
Steps Taken
Install omv image from axzez
Go to system > omv-extras > click on docker repo > click save
Go to system > plugins > install openmediavault-compose 6.10.3
Go to services > compose > settings
Docker shows installed not running
Click restart docker
Get the following error
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; systemctl restart 'docker' 2>&1' with exit code '1': Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
SSH into the box
admin@interceptor:~$ sudo systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─waitAllMounts.conf
Active: failed (Result: exit-code) since Thu 2023-09-28 14:19:14 UTC; 2min 7s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 7453 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 7453 (code=exited, status=1/FAILURE)
CPU: 310ms
Sep 28 14:19:14 interceptor systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Sep 28 14:19:14 interceptor systemd[1]: Stopped Docker Application Container Engine.
Sep 28 14:19:14 interceptor systemd[1]: docker.service: Start request repeated too quickly.
Sep 28 14:19:14 interceptor systemd[1]: docker.service: Failed with result 'exit-code'.
Sep 28 14:19:14 interceptor systemd[1]: Failed to start Docker Application Container Engine.
=====================================
admin@interceptor:~$ sudo journalctl -xe
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit docker.service has finished.
░░
░░ The job identifier is 1624 and the job result is done.
Sep 28 14:19:14 interceptor systemd[1]: docker.service: Start request repeated too quickly.
Sep 28 14:19:14 interceptor systemd[1]: docker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit docker.service has entered the 'failed' state with result 'exit-code'.
Sep 28 14:19:14 interceptor systemd[1]: Failed to start Docker Application Container Engine.
░░ Subject: A start job for unit docker.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit docker.service has finished with a failure.
░░
░░ The job identifier is 1624 and the job result is failed.
Sep 28 14:19:14 interceptor systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit docker.socket has entered the 'failed' state with result 'service-start-limit-hit'.
Sep 28 14:19:44 interceptor usermod[7847]: change user 'admin' GID from '1000' to '100'
Sep 28 14:19:44 interceptor usermod[7847]: add 'admin' to group 'ssh'
Sep 28 14:19:44 interceptor usermod[7847]: add 'admin' to group 'admin'
Sep 28 14:19:44 interceptor usermod[7847]: add 'admin' to shadow group 'ssh'
Sep 28 14:19:44 interceptor usermod[7847]: add 'admin' to shadow group 'admin'
Sep 28 14:20:21 interceptor systemd[1]: Starting Cleanup of Temporary Directories...
░░ Subject: A start job for unit systemd-tmpfiles-clean.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit systemd-tmpfiles-clean.service has begun execution.
░░
░░ The job identifier is 1687.
Sep 28 14:20:21 interceptor systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit systemd-tmpfiles-clean.service has successfully entered the 'dead' state.
Sep 28 14:20:21 interceptor systemd[1]: Finished Cleanup of Temporary Directories.
░░ Subject: A start job for unit systemd-tmpfiles-clean.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit systemd-tmpfiles-clean.service has finished successfully.
░░
░░ The job identifier is 1687.
Sep 28 14:20:52 interceptor sshd[8601]: Accepted password for admin from 10.31.80.26 port 55252 ssh2
Sep 28 14:20:52 interceptor sshd[8601]: pam_unix(sshd:session): session opened for user admin(uid=1000) by (uid=0)
Sep 28 14:21:21 interceptor sudo[8701]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/systemctl status docker.service
Sep 28 14:21:21 interceptor sudo[8701]: pam_unix(sudo:session): session opened for user root(uid=0) by admin(uid=1000)
Sep 28 14:21:21 interceptor sudo[8701]: pam_unix(sudo:session): session closed for user root
Sep 28 14:21:45 interceptor sudo[8772]: admin : TTY=pts/0 ; PWD=/home/admin ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Sep 28 14:21:45 interceptor sudo[8772]: pam_unix(sudo:session): session opened for user root(uid=0) by admin(uid=1000)
====================
Ran sudo dockerd -D -l debug just to see if there was anything else
admin@interceptor:~$ sudo dockerd -D -l debug
INFO[2023-09-28T14:22:42.283149133Z] Starting up
DEBU[2023-09-28T14:22:42.284380554Z] Listener created for HTTP on unix (/var/run/docker.sock)
DEBU[2023-09-28T14:22:42.286511827Z] Golang's threads limit set to 55710
DEBU[2023-09-28T14:22:42.287473586Z] metrics API listening on /var/run/docker/metrics.sock
DEBU[2023-09-28T14:22:42.297662962Z] Using default logging driver json-file
DEBU[2023-09-28T14:22:42.299087138Z] No quota support for local volumes in /var/lib/docker/volumes: Filesystem does not support, or has not enabled quotas
DEBU[2023-09-28T14:22:42.299122267Z] processing event stream module=libcontainerd namespace=plugins.moby
DEBU[2023-09-28T14:22:42.307992429Z] [graphdriver] priority list: [overlay2 fuse-overlayfs btrfs zfs devicemapper vfs]
DEBU[2023-09-28T14:22:43.432912407Z] successfully detected metacopy status storage-driver=overlay2 usingMetacopy=false
DEBU[2023-09-28T14:22:43.452278476Z] backingFs=extfs, projectQuotaSupported=false, usingMetacopy=false, indexOff="index=off,", userxattr="" storage-driver=overlay2
INFO[2023-09-28T14:22:43.452358715Z] [graphdriver] using prior storage driver: overlay2
DEBU[2023-09-28T14:22:43.452406103Z] Initialized graph driver overlay2
DEBU[2023-09-28T14:22:43.452809910Z] Max Concurrent Downloads: 3
DEBU[2023-09-28T14:22:43.452864112Z] Max Concurrent Uploads: 5
DEBU[2023-09-28T14:22:43.452897278Z] Max Download Attempts: 5
INFO[2023-09-28T14:22:43.452962962Z] Loading containers: start.
DEBU[2023-09-28T14:22:43.453136811Z] Option DefaultDriver: bridge
DEBU[2023-09-28T14:22:43.453184143Z] Option DefaultNetwork: bridge
DEBU[2023-09-28T14:22:43.453213495Z] Network Control Plane MTU: 1500
DEBU[2023-09-28T14:22:43.453411750Z] processing event stream module=libcontainerd namespace=moby
INFO[2023-09-28T14:22:43.470690655Z] unable to detect if iptables supports xlock: 'iptables --wait -L -n': `iptables/1.8.7 Failed to initialize nft: Protocol not supported` error="exit status 1"
DEBU[2023-09-28T14:22:43.470955669Z] /usr/sbin/iptables, [-t filter -C FORWARD -j DOCKER-ISOLATION]
DEBU[2023-09-28T14:22:43.479538465Z] /usr/sbin/iptables, [-t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[2023-09-28T14:22:43.487848526Z] /usr/sbin/iptables, [-t nat -D OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER]
DEBU[2023-09-28T14:22:43.496683354Z] /usr/sbin/iptables, [-t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER]
DEBU[2023-09-28T14:22:43.504903362Z] /usr/sbin/iptables, [-t nat -D PREROUTING]
DEBU[2023-09-28T14:22:43.514361252Z] /usr/sbin/iptables, [-t nat -D OUTPUT]
DEBU[2023-09-28T14:22:43.523293819Z] /usr/sbin/iptables, [-t nat -F DOCKER]
DEBU[2023-09-28T14:22:43.532459512Z] /usr/sbin/iptables, [-t nat -X DOCKER]
DEBU[2023-09-28T14:22:43.541884829Z] /usr/sbin/iptables, [-t filter -F DOCKER]
DEBU[2023-09-28T14:22:43.550750286Z] /usr/sbin/iptables, [-t filter -X DOCKER]
DEBU[2023-09-28T14:22:43.560153567Z] /usr/sbin/iptables, [-t filter -F DOCKER-ISOLATION-STAGE-1]
DEBU[2023-09-28T14:22:43.570589661Z] /usr/sbin/iptables, [-t filter -X DOCKER-ISOLATION-STAGE-1]
DEBU[2023-09-28T14:22:43.579842370Z] /usr/sbin/iptables, [-t filter -F DOCKER-ISOLATION-STAGE-2]
DEBU[2023-09-28T14:22:43.588970378Z] /usr/sbin/iptables, [-t filter -X DOCKER-ISOLATION-STAGE-2]
DEBU[2023-09-28T14:22:43.598421898Z] /usr/sbin/iptables, [-t filter -F DOCKER-ISOLATION]
DEBU[2023-09-28T14:22:43.607340706Z] /usr/sbin/iptables, [-t filter -X DOCKER-ISOLATION]
DEBU[2023-09-28T14:22:43.616733061Z] /usr/sbin/iptables, [-t nat -n -L DOCKER]
DEBU[2023-09-28T14:22:43.629835325Z] /usr/sbin/iptables, [-t nat -N DOCKER]
DEBU[2023-09-28T14:22:43.638673913Z] daemon configured with a 15 seconds minimum shutdown timeout
DEBU[2023-09-28T14:22:43.638742375Z] start clean shutdown of all containers with a 15 seconds timeout...
DEBU[2023-09-28T14:22:43.640261012Z] Cleaning up old mountid : start.
INFO[2023-09-28T14:22:43.640432768Z] stopping event stream following graceful shutdown error="<nil>" module=libcontainerd namespace=moby
DEBU[2023-09-28T14:22:43.640909647Z] Cleaning up old mountid : done.
failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables/1.8.7 Failed to initialize nft: Protocol not supported
(exit status 1)