-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[BUG] Docker Compose Fails with 'exit status 128' When Including Remote Git Repository #12714
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
Comments
We just introduced some additional diagnostic for git remote resources. |
Thank you for your prompt response and for providing additional diagnostics to address the issue. Unfortunately, after following your recommendations, the problem persists. Steps Taken:
git clone https://github.com/docker/compose.git
cd compose
git rev-parse HEAD
c83f1285a88f5b772b32969285ad9e0b6c6867db
make
GO111MODULE=on go build -trimpath -tags "e2e" -ldflags "-w -X
github.com/docker/compose/v2/internal.Version=v2.35.0-2-gc83f1285a.m" -o "./bin/build/docker-compose" ./cmd
go: downloading github.com/compose-spec/compose-go/v2 v2.6.0
go: downloading github.com/moby/sys/atomicwriter v0.1.0
sudo cp bin/build/docker-compose /usr/local/bin/docker-compose
docker-compose version
Docker Compose version v2.35.0-2-gc83f1285a.m
COMPOSE_EXPERIMENTAL_GIT_REMOTE=true docker-compose --verbose -f app/docker-compose.yml up
DEBU[0000] Enabled Docker Desktop integration (experimental) @ unix:///var/run/docker-cli.sock
DEBU[0000] otel error error="<nil>"
DEBU[0000] otel error error="<nil>"
exit status 128
Despite enabling detailed Git tracing and debugging, the output does not provide additional insights into the root cause of the failure. |
Hello @grzegorzb1990 I tried to reproduce, but without experiencing the same behaviour (on Mac first, I'll try on a Windows machin soon)
Can you check the output of Do you have the same issue if you're cloning the repository and run directly
Can you also check Compose downloaded properly the project, as mentionned by ndeloof, here |
Uh oh!
There was an error while loading. Please reload this page.
Description
When using Docker Compose with the COMPOSE_EXPERIMENTAL_GIT_REMOTE feature to include a remote Git repository, the process fails with exit status 128.
Expected Behavior:
Docker Compose should successfully include the remote Git repository and start the defined services without errors.
Observed Behavior:
The process fails with the following debug output:
Steps To Reproduce
Steps to Reproduce
Create a
docker-compose.yml
file with the following content:Execute the following command
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: