Answers for "how to upgrade docker-compose version"

21

install docker compose

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
sudo chmod +x /usr/local/bin/docker-compose
Posted by: Guest on April-06-2020
0

install docker compose in suse linux

# Run this command to download the current stable release of Docker Compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# To install a different version of Compose, substitute 1.26.2 with the version of Compose you want to use.

# If you have problems installing with curl, see Alternative Install Options tab above.

# Apply executable permissions to the binary:

sudo chmod +x /usr/local/bin/docker-compose
# Note: If the command docker-compose fails after installation, check your path. You can also create a symbolic link to /usr/bin or any other directory in your path.

# For example:

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# Optionally, install command completion for the bash and zsh shell.

# Test the installation.

$ docker-compose --version
docker-compose version 1.26.2, build 1110ad01
Posted by: Guest on August-07-2020

Code answers related to "how to upgrade docker-compose version"

Python Answers by Framework

Browse Popular Code Answers by Language