compose-switch
compose-switch copied to clipboard
Hi, I just fixed the `an script` typo and removed a space and colon to make it consistant with the previous elements.
The check at https://github.com/docker/compose-switch/blob/2fe0b713c6839e86239e4930b98fe94f3c68f4e2/install_on_linux.sh#L21 fails if docker-compose (v1) is not installed. Due to the `set -e` the scripts exits at this point. This fix make sure the script continues.
Backticks will try to execute the string within as a command, but docker-compose may not yet exist at this point, and it seems to be the original intention to simply...
The use case is that I want to install docker-compose v2 and then install compose-switch to translate docker-compose v1 commands from an older project. But on my brand-new Ubuntu 20.04...
Any reason why compose-switch is an outlier in terms of not being able to be `apt install`'d? Would be really great if we could install it just like `docker-ce` and...
Fixes #20 It looks like the Actions workflow [uses a wildcard to upload every file under `bin/`](https://github.com/docker/compose-switch/blob/2fe0b713c6839e86239e4930b98fe94f3c68f4e2/.github/workflows/release-weekly-build.yml#L36), so the workflow shouldn't need modifying.
This should enable calling the script without calling sudo on the whole script which breaks the `docker compose` detection for user-only installations
Wanted to move to use compose-switch on my raspberrypi, but it seems that there's no compose-switch for armv7 :( ```bash $ uname -m armv7l ```
Might be like that (Ubuntu 20.04.3 LTS): 1 - Ensure you have installed **docker-compose**. $ apt install docker-compose 2 - download `compose-switch` binary for your architecture $ curl -fL https://github.com/docker/compose-switch/releases/download/v1.0.4/docker-compose-linux-amd64...
I appreciate that this tool exists, but `upate-alternatives` / `alternatives` hardly exists everywhere (e.g. coreos, flatcar, etc...). It would be helpful if you could provide quickstart instructions on how to...