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

make errors after upgrade to Docker Compose 2.6.0 #11674

Closed
divbzero opened this issue Jun 26, 2022 · 3 comments
Closed

make errors after upgrade to Docker Compose 2.6.0 #11674

divbzero opened this issue Jun 26, 2022 · 3 comments
Labels
bug 🐛 developer experience Anything that improves the experience for Warehouse devs

Comments

@divbzero
Copy link
Contributor

divbzero commented Jun 26, 2022

Steps to reproduce:

  1. Upgrade to Docker Compose 2.6.0
  2. Run make serve for pypa/warehouse.

Error message:

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "hupper": executable file not found in $PATH: unknown
make: *** [serve] Error 1
@divbzero divbzero added bug 🐛 developer experience Anything that improves the experience for Warehouse devs labels Jun 26, 2022
@divbzero
Copy link
Contributor Author

divbzero commented Jun 26, 2022

When I ran docker-compose run worker bash and echo $PATH I saw my host machine’s $PATH echoed in the container. This appears to be an issue with Docker Compose 2.6.0 mishandling environment variables from env_file:

I’m opening and closing this issue here in case other Warehouse devs encounter the same issue.

@divbzero divbzero closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2022
@divbzero
Copy link
Contributor Author

Reverting to Docker Desktop 4.8.2 resolved the issue.

@divbzero
Copy link
Contributor Author

This environment variable issue was fixed by docker/compose#9636 (commit 6d613c8) which was released with Docker Compose 2.8.0 and Docker Desktop 4.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 developer experience Anything that improves the experience for Warehouse devs
Projects
None yet
Development

No branches or pull requests

1 participant