Doubt about docker-compose installation

  • Hi :)


    This could be a dumb question, i have installed docker-compose via apt install docker-compose. I see that docker-compose --version is docker-compose version 1.8.0.


    I do not understand what this version is really. Should i instead install it like pointed on the offial site via sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose?


    Thanks in advance!

  • 1.8 is the current version in the Debian repos. I'd leave it as is unless you have some reason for needing the absolute newest version.

    Thanks for your reply!


    The strange thing is that it says version 1.8 build undefined, or something similar. Is this ok?


    Why do you suggest to use version 1.8? Could you give me some more details?


    Thanks again!!

    • Offizieller Beitrag

    I didn't suggest it one way or the other. I said unless you have a reason to use the updated version, just use the version in the repos.


    I've not looked at the differences between them because I've had no need. I've got multiple containers running on my NAS that I set up with docker compose, and I've had no problems that would make me want to go to the hassle of upgrading it... So I just stick with the version in the repos.

  • I have it this way, it's correct?


    Code
    docker-compose:
    Installed: 1.8.0-2
    Candidate: 1.8.0-2
    Version table:
    1.21.0-3~bpo9+1 100
    100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages
    *** 1.8.0-2 500
    500 http://httpredir.debian.org/debian stretch/main armhf Packages
    100 /var/lib/dpkg/status

    If i do docker-compose --version the output is: docker-compose version 1.8.0, build unknown


    Why unknown?

    • Offizieller Beitrag

    Why unknown?

    That is what the script reports. I wouldn't worry about it. And if you want a newer version, just do:

    apt-get install -t stretch-backports docker-compose=1.21.0-3~bpo9+1

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • steakhutzeee

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

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