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
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
Install Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
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
docker-compose --version
#Upgrading:
docker-compose migrate-to-labels
#Alternatively, if you’re not worried about keeping them, you can remove them. Compose just creates new ones.
docker container rm -f -v myapp_web_1 myapp_db_1 ...
#Uninstallation:
#To uninstall Docker Compose if you installed using curl:
sudo rm /usr/local/bin/docker-compose
#To uninstall Docker Compose if you installed using pip:
pip uninstall docker-compose
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us