Can't Install Docker

  • Hi all, I am very new to linux and I am having a hard time installing docker. I have the omv-extras plugin and I am trying to install docker from the gui as trying to install from the CLI had no luck. Anyways, as omv tries to install docker I get this error, I have tried wiping my disks as some other forum suggested but am stuck. Here is the 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=; omv-installdocker docker install': Docker storage :: /var/lib/docker

    Agent port:: 8000

    Web port:: 9000

    Yacht port:: 8001

    ee:: 0

    image:: portainer/portainer-ce

    Enable TLS:: 0

    arch :: amd64

    option :: docker

    state :: install

    extras :: 6.1.1

    DNS OK.

    Create override file ...

    mode of '/etc/systemd/system/docker.service.d/waitAllMounts.conf' retained as 0644 (rw-r--r--)

    Reload systemd daemon ...

    Get:1 file:/var/cache/openmediavault/archives InRelease

    Ign:1 file:/var/cache/openmediavault/archives InRelease

    Get:2 file:/var/cache/openmediavault/archives Release

    Ign:2 file:/var/cache/openmediavault/archives Release

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Hit:5 http://security.debian.org/debian-security bullseye-security InRelease

    Hit:6 https://deb.debian.org/debian bullseye-backports InRelease

    Hit:7 http://deb.debian.org/debian bullseye InRelease

    Ign:8 https://download.docker.com/linux/ubuntu bullseye InRelease

    Hit:9 https://openmediavault-plugin-…github.io/packages/debian shaitan InRelease

    Hit:10 https://download.docker.com/linux/debian bullseye InRelease

    Hit:11 http://deb.debian.org/debian bullseye-updates InRelease

    Err:12 https://download.docker.com/linux/ubuntu bullseye Release

    404 Not Found [IP: 2600:9000:2146:6000:3:db06:4200:93a1 443]

    Hit:13 https://packages.openmediavault.org/public shaitan InRelease

    Reading package lists...


    Failed to update apt repos.


    OMV\ExecException: 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=; omv-installdocker docker install': Docker storage :: /var/lib/docker

    Agent port:: 8000

    Web port:: 9000

    Yacht port:: 8001

    ee:: 0

    image:: portainer/portainer-ce

    Enable TLS:: 0

    arch :: amd64

    option :: docker

    state :: install

    extras :: 6.1.1

    DNS OK.

    Create override file ...

    mode of '/etc/systemd/system/docker.service.d/waitAllMounts.conf' retained as 0644 (rw-r--r--)

    Reload systemd daemon ...

    Get:1 file:/var/cache/openmediavault/archives InRelease

    Ign:1 file:/var/cache/openmediavault/archives InRelease

    Get:2 file:/var/cache/openmediavault/archives Release

    Ign:2 file:/var/cache/openmediavault/archives Release

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en

    Ign:4 file:/var/cache/openmediavault/archives Translation-en

    Hit:5 http://security.debian.org/debian-security bullseye-security InRelease

    Hit:6 https://deb.debian.org/debian bullseye-backports InRelease

    Hit:7 http://deb.debian.org/debian bullseye InRelease

    Ign:8 https://download.docker.com/linux/ubuntu bullseye InRelease

    Hit:9 https://openmediavault-plugin-…github.io/packages/debian shaitan InRelease

    Hit:10 https://download.docker.com/linux/debian bullseye InRelease

    Hit:11 http://deb.debian.org/debian bullseye-updates InRelease

    Err:12 https://download.docker.com/linux/ubuntu bullseye Release

    404 Not Found [IP: 2600:9000:2146:6000:3:db06:4200:93a1 443]

    Hit:13 https://packages.openmediavault.org/public shaitan InRelease

    Reading package lists...


    Failed to update apt repos. in /usr/share/openmediavault/engined/rpc/omvextras.inc:296

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMVRpcServiceOmvExtras->{closure}('/tmp/bgstatus2R...', '/tmp/bgoutput1k...')

    #1 /usr/share/openmediavault/engined/rpc/omvextras.inc(298): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #2 [internal function]: OMVRpcServiceOmvExtras->doCommand(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)

    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OmvExtras', 'doCommand', Array, Array, 1)

    #6 {main}

  • KM0201

    Approved the thread.
    • Official Post

    Something on your network seems to be blocking the docker repo.

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Is this a proxy related issue?

    Not sure. Are you using one?

    What is the output of: sudo apt-get -o Acquire::ForceIPv4=true update

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • No I am not using a proxy, but i get this output:


    Get:1 file:/var/cache/openmediavault/archives InRelease

    Ign:1 file:/var/cache/openmediavault/archives InRelease

    Get:2 file:/var/cache/openmediavault/archives Release

    Ign:2 file:/var/cache/openmediavault/archives Release

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Ign:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:3 file:/var/cache/openmediavault/archives Packages

    Get:4 file:/var/cache/openmediavault/archives Translation-en_US

    Ign:4 file:/var/cache/openmediavault/archives Translation-en_US

    Get:5 file:/var/cache/openmediavault/archives Translation-en

    Ign:5 file:/var/cache/openmediavault/archives Translation-en

    Get:6 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]

    Hit:7 http://deb.debian.org/debian bullseye InRelease

    Hit:8 http://deb.debian.org/debian bullseye-updates InRelease

    Hit:9 https://deb.debian.org/debian bullseye-backports InRelease

    Hit:10 https://openmediavault-plugin-…github.io/packages/debian shaitan InRelease

    Ign:11 https://download.docker.com/linux/ubuntu bullseye InRelease

    Hit:12 https://download.docker.com/linux/debian bullseye InRelease

    Err:13 https://download.docker.com/linux/ubuntu bullseye Release

    404 Not Found [IP: 13.35.125.6 443]

    Hit:14 https://packages.openmediavault.org/public shaitan InRelease

    Reading package lists... Done

    E: The repository 'https://download.docker.com/linux/ubuntu bullseye Release' does not have a Release file.

    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

    N: See apt-secure(8) manpage for repository creation and user configuration details.

    • Official Post

    I think you have been making changes... What is the output of: grep -r ubuntu /etc/apt/*

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    It would've been helpful to know that you tried installing docker with the docker.com install script.


    Do the following to revert and fix:


    sudo rm /etc/apt/sources.list.d/docker.list

    echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4

    sudo apt-get update


    Then you should be able to install docker from omv-extras in the web interface.

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Wow, yes it worked. Thank you! Was the issue a failed install from the cli? I didn't realize there was the omv-extras plugin at first so I tried to follow dockers guide to install.

    • Official Post

    Was the issue a failed install from the cli?

    That was half of it. The other half is that you have an ipv6 connection and docker's domain resolves to ipv6 but they evidently don't have their apt repo listening on ipv6.

    omv 7.1.1-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.1.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • macom

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!