Outdated docker-compose version

  • Hi :)


    I'm actually using OMV5 on top of Armbian on Odroid HC2.


    My docker version is: Docker version 20.10.2, build 2291f61

    My docker-compose version is: docker-compose version 1.21.0, build unknown


    So docker compose is not updated together with docker itself? How can i update docker compose to the latest version?

    I tried to go under "OMV-Extras-->Docker" and hit Install but nothing changes.

    Maybe because "Install Docker will download and place a newer docker-compose in /usr/local/bin/ on 64 bit x86 systems only."?

    So what about ARM?


    Thanks!

  • docker-compose 1.21.0-3 is the latest available for Debian Buster, the basis for OMV v5.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

  • I see, well 1.21.0 is a release from 2018

    The official docker-compose download from docker is only for amd64. So, for non-amd64 systems like your system, omv-extras installs what is in the debian repo.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • So docker compose is not updated together with docker itself?

    No. docker-compose is not part of the docker-ce package.


    How can i update docker compose to the latest version?

    There are a few ways. None of which I liked doing with omv-extras.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Once a newer version is released and added to the armhf repo by the debian project, you will receive it via the update.


    Are you missing something in the current version?

    I was researching why with "docker-compose pull" there was no progress shown while downloading in parallel mode. Found out an issue on Github where this were fixed in a later version of compose.

  • Found out an issue on Github where this were fixed in a later version of compose.

    I'll look into this again to see if there is a good way to get a newer version on non-amd64 systems with omv-extras.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I'll look into this again to see if there is a good way to get a newer version on non-amd64 systems with omv-extras.

    Linuxserver is publishing binaries for docker-compose https://docs.linuxserver.io/general/docker-compose

    EDIT: I just did this to grab the latest version:


    sudo curl -L --fail https://github.com/linuxserver/docker-docker-compose/releases/download/1.28.0-ls28/docker-compose-armhf -o /usr/local/bin/docker-compose

    root@DK:/usr/local/bin# docker-compose --version

    docker-compose version 1.28.0, build d02a7b1a

  • Linuxserver is publishing binaries for docker-compose

    I have seen those and thought about it. But if the container isn't running for some strange reason, you don't have docker-compose.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I have seen those and thought about it. But if the container isn't running for some strange reason, you don't have docker-compose.

    On the link i posted i see there are 2 ways, the first is a container for docker-compose, but the second are just binaries that can be downloaded and placed in /usr/local/bin.


    That's what i did.

  • the second are just binaries that can be downloaded and placed in /usr/local/bin.

    Sold. That will work for me. I don't remember seeing those last time I looked.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • 5.4.5 of omv-extras is in the repo. You will get docker 1.28.0 from LinuxServer for armhf and arm64 now.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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