install_on_linux.sh does not work with default compose install

Open
#6 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, shell
Domain
devops

Research direction

Start with install_on_linux.sh and the documented Compose plugin installation location; reproduce the failure when the script runs as root while Compose v2 is installed for the user. Done means the documented installation path and the script work together without a silent failure.

Written by the indexing model from the issue text.

Description

The documentation says for the compose plugin to be installed into the users .docker folder. However the install_on_linux.sh script has to be run as root to allow for file creation in /usr/local/bin

The root user however doesn't have compose v2 installed, and the install script then fails (without any output).

Dominant language
Go
Stars
206
Forks
37
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/compose-switch

All issues in docker/compose-switch

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.