curl doesn't seem to like `~` in its output path

pull/162/head
TheSpad 2023-11-09 18:58:11 +00:00
rodzic a57c782a12
commit 8d3e61b00e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 08F06191F4587860
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -19,12 +19,12 @@ Install docker from the official repos as described [here](https://docs.docker.c
You can install `docker compose` manually via the following commands:
```shell
mkdir -p "~/.docker/cli-plugins" && \
curl -sL "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o "~/.docker/cli-plugins/docker-compose" && \
chmod +x ~/.docker/cli-plugins/docker-compose
mkdir -p "$HOME/.docker/cli-plugins" && \
curl -sL "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o "$HOME/.docker/cli-plugins/docker-compose" && \
chmod +x $HOME/.docker/cli-plugins/docker-compose
```
If you prefer to install it system-wide you can use `/usr/local/lib/docker/cli-plugins` instead of `~/.docker/cli-plugins`
If you prefer to install it system-wide you can use `/usr/local/lib/docker/cli-plugins` instead of `$HOME/.docker/cli-plugins`
Assuming you already have docker (or at the very least docker-cli) installed, preferably from the official docker repos, running `docker compose version` should display the compose version.