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 "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose?

    Thanks in advance!

  • 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?

    Installed: 1.8.0-2
    Candidate: 1.8.0-2
    Version table:
    1.21.0-3~bpo9+1 100
    100 stretch-backports/main armhf Packages
    *** 1.8.0-2 500
    500 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?

  • 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 5.5.1 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3 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!