Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose as a Docker plugin #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mglaman
Copy link

@mglaman mglaman commented Jul 18, 2024

fixes #47

local workaround:

echo 'docker compose --compatibility "$@"' > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

@seanmorris
Copy link
Owner

seanmorris commented Oct 9, 2024

@mglaman

I've set things up so you can provide the DOCKER_COMPOSE env variable as a path to your install. It defaults to docker-compose. You can set it in your .env file, which should be ignored by git by default.

Looks like you'd need the following in your .env file with the current master:

DOCKER_COMPOSE=docker compose --compatibility`

Let me know if that cleans things up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build does not work if using Compose as a plugin vs docker-compose standalone binary
2 participants