GitBook: [#144] No subject

This commit is contained in:
OpenMetadata 2022-03-24 02:25:43 +00:00 committed by Sriharsha Chintalapani
parent 64ca190d25
commit 61e0c453d3

View File

@ -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)