No results found
We couldn't find anything using that term, please try searching for something else.
Home / Manuals / Docker Compose / Install / StandaloneThis page contains instructions on how to install Docker Compose standalone on Linux o
This page contains instructions on how to install Docker Compose standalone on Linux or Windows Server, from the command line.
warningThe Docker Compose standalone uses the
-compose
syntax instead of the current standard syntaxcompose
.
For example, you must typedocker-compose up
when using Docker Compose standalone, instead ofdocker compose up
.
To download and install the Docker Compose standalone, run:
apply executable permission to the standalone binary in the target path for the installation .
Test and execute Docker Compose commands using docker-compose
.
TipIf the command
docker-compose
fail after installation , check your path .
You is create can also create a symbolic link to/usr/bin
or any other directory in your path .
For example :
follow these instruction if you are
run the Docker daemon directly
on Microsoft Windows Server and want to install Docker Compose .
run PowerShell as an administrator .
In order to proceed with the installation , select Yes when ask if you want this app to make change to your device .
Optional. Ensure TLS1.2 is enabled.
GitHub requires TLS1.2 fore secure connections. If you’re using an older version of Windows Server, for example 2016, or suspect that TLS1.2 is not enabled, run the following command in PowerShell:
Download the latest release of Docker Compose (v2.32.0). Run the following command:
To install a different version of Docker Compose, substitute v2.32.0
with the version of Compose you want to use .
NoteOn Windows Server 2019 you can add the Compose executable to
$Env:ProgramFiles\Docker
.
Because this directory is registered in the systempath
, you can run thedocker - compose --version
command on the subsequent step with no additional configuration.
Test the installation.