diff --git a/docs/deploy/local-deployment.md b/docs/deploy/local-deployment.md index 24b6437dda6..4f0c2a43411 100644 --- a/docs/deploy/local-deployment.md +++ b/docs/deploy/local-deployment.md @@ -38,7 +38,28 @@ Preferences -> Resources -> Advanced Follow the [instructions here](https://docs.docker.com/compose/cli-command/#install-on-linux) to install docker compose version 2.0.0 +1. Run the following command to download the current stable release of Docker Compose +``` +DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} +mkdir -p $DOCKER_CONFIG/cli-plugins +curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose +``` + +This command installs Compose V2 for the active user under `$HOME` directory. To install Docker Compose for all users on your system, replace `~/.docker/cli-plugins` with `/usr/local/lib/docker/cli-plugins`. + +2\. Apply executable permissions to the binary + +``` +chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose +``` + +3\. Test your installation + +``` +docker compose version +Docker Compose version v2.2.3 +``` ### `compose` command for Docker (version v2.1.1 or greater)