docker / docker/docker-install

Use update-alternatives for docker-compose

Open
#320 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3.2k
Forks
863
Avg merge
3h 15m
Merged PRs (30d)
2

Description

Should the install script use update-alternatives to link back to the newer docker-compose-plugin?

update-alternatives --install /usr/local/bin/docker-compose docker-compose /usr/libexec/docker/cli-plugins/docker-compose 1

This would create a symlink from /usr/libexec/docker/cli-plugins/docker-compose to /usr/local/bin/docker-compose

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.

Research direction

Start with the repository's install script and review how the Docker Compose plugin is installed and exposed. Evaluate the proposed update-alternatives command across supported environments; done means the script reliably provides the expected docker-compose command without breaking existing installations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.