Share
Sign In

Installation, Upgrading, Uninstallation - Docker Compose

Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose
Upgrading
If you’re upgrading from Compose 1.2 or earlier, remove or migrate your existing containers after upgrading Compose. This is because, as of version 1.3, Compose uses Docker labels to keep track of containers, and your containers need to be recreated to add the labels.
If Compose detects containers that were created without labels, it refuses to run, so that you don’t end up with two sets of them. If you want to keep using your existing containers (for example, because they have data volumes you want to preserve), you can use Compose 1.5.x to migrate them with the following command:
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
Link documentation
이전페이지로 돌아가기
Docker Compose
Install Compose on Linux systems
On Linux, you can download the Docker Compose binary from the Compose repository release page on GitHub. Follow the instructions from the link, which involve running the curl command in your terminal to download the binaries. These step-by-step instructions are also included below.
Run this command to download the current stable release of 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
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose