Can't install or start docker

  • Had a power outage and when OMV came back up docker was not running. I tried to start it through the web interface and it would fail with an error.
    Then I tried removing it and then reinstalling and the Install fails with errors below.


    Desperately need help I have over a years' worth of container and configurations on here and can't get docker to run.



    The following additional packages will be installed:

    containerd.io docker-ce-cli

    Suggested packages:

    cgroupfs-mount | cgroup-lite

    Recommended packages:

    apparmor docker-ce-rootless-extras git libltdl7

    The following NEW packages will be installed:

    containerd.io docker-ce docker-ce-cli

    0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

    Need to get 65.1 MB of archives.

    After this operation, 276 MB of additional disk space will be used.

    Get:1 https://download.docker.com/linux/debian buster/stable armhf containerd.io armhf 1.5.11-1 [16.1 MB]

    Get:2 https://download.docker.com/linux/debian buster/stable armhf docker-ce-cli armhf 5:20.10.14~3-0~debian-buster [35.9 MB]

    Get:3 https://download.docker.com/linux/debian buster/stable armhf docker-ce armhf 5:20.10.14~3-0~debian-buster [13.1 MB]

    Fetched 65.1 MB in 11s (5986 kB/s)

    Selecting previously unselected package containerd.io.

    (Reading database ...

    (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%

    (Reading database ... 20%(Reading database ... 25%

    (Reading database ... 30%(Reading database ... 35%

    (Reading database ... 40%(Reading database ... 45%

    (Reading database ... 50%(Reading database ... 55%

    (Reading database ... 60%

    (Reading database ... 65%

    (Reading database ... 70%

    (Reading database ... 75%

    (Reading database ... 80%

    (Reading database ... 85%

    (Reading database ... 90%

    (Reading database ... 95%

    (Reading database ... 100%(Reading database ... 61996 files and directories currently installed.)

    Preparing to unpack .../containerd.io_1.5.11-1_armhf.deb ...

    Unpacking containerd.io (1.5.11-1) ...

    Selecting previously unselected package docker-ce-cli.

    Preparing to unpack .../docker-ce-cli_5%3a20.10.14~3-0~debian-buster_armhf.deb ...

    Unpacking docker-ce-cli (5:20.10.14~3-0~debian-buster) ...

    Selecting previously unselected package docker-ce.

    Preparing to unpack .../docker-ce_5%3a20.10.14~3-0~debian-buster_armhf.deb ...

    Unpacking docker-ce (5:20.10.14~3-0~debian-buster) ...

    Setting up containerd.io (1.5.11-1) ...

    Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.

    Setting up docker-ce-cli (5:20.10.14~3-0~debian-buster) ...

    Setting up docker-ce (5:20.10.14~3-0~debian-buster) ...

    Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.

    Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.

    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 Mon 2022-04-04 19:57:46 CDT; 30ms ago

    Docs: https://docs.docker.com

    Process: 3497 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)

    Main PID: 3497 (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 man-db (2.8.5-2) ...

    Processing triggers for systemd (241-7~deb10u8+rpi1) ...

    Errors were encountered while processing:


    docker-ce

    Failed to install docker.

    Try fixing install...

    Reading package lists...


    Building dependency tree...


    Reading state information...


    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    1 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Setting up docker-ce (5:20.10.14~3-0~debian-buster) ...

    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 Mon 2022-04-04 19:57:59 CDT; 19ms ago

    Docs: https://docs.docker.com

    Process: 3836 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)

    Main PID: 3836 (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

    Errors were encountered while processing:


    docker-ce


    Unable to fix docker install.

  • KM0201

    Hat das Thema freigeschaltet.
  • Here is the output.


    apt install -f

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    1 not fully installed or removed.

    After this operation, 0 B of additional disk space will be used.

    Setting up docker-ce (5:20.10.14~3-0~debian-buster) ...

    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 Mon 2022-04-04 21:56:53 CDT; 41ms ago

    Docs: https://docs.docker.com

    Process: 17003 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)

    Main PID: 17003 (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

    Errors were encountered while processing:

    docker-ce

    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • This is from journalctl -u docker

    Looks like something up with the overlay2 but I have no clue how to correct the issue or where to start.


    time="2022-04-04T19:57:48.972712376-05:00" level=error msg="failed to mount overlay: no such device" storage-driver=overlay2

    Apr 04 19:57:48 OMV-SERVER dockerd[3639]: time="2022-04-04T19:57:48.972793505-05:00" level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"

    Apr 04 19:57:48 OMV-SERVER dockerd[3639]: failed to start daemon: error initializing graphdriver: driver not supported

  • Yea that's a little confusing because all my docker stuff is already on a mounted 4tb drive and not in /var/lib/docker so I am not sure what removing that directory would do.

    And two, I can't even start docker and the first thing in that post says to stop it, so I am not sure this applies to my issue.


    That also looks like its a Ubuntu install, my setup is running on a Raspberry Pi 4.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!