Skip to content

devcontainer: support docker-compose #236

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

Open
johnstcn opened this issue Jun 13, 2024 · 3 comments
Open

devcontainer: support docker-compose #236

johnstcn opened this issue Jun 13, 2024 · 3 comments

Comments

@johnstcn
Copy link
Member

Devcontainer spec supports specifying a compose file

e.g.

	"dockerComposeFile": "docker-compose.yml",

Example: https://github.com/BrunoQuaresma/openticket/blob/main/.devcontainer/devcontainer.json

@jasclarke24
Copy link

This would be an awesome feature. We run a lot of dev environments with multiple containers for testing and rapid integration. What is the recommended way of doing this now, multiple containers in the template?

@johnstcn
Copy link
Member Author

johnstcn commented Jan 30, 2025

What is the recommended way of doing this now, multiple containers in the template?

Yeah that's honestly the best way right now. We're working on an alternative method of using devcontainers that should more seamlessly enable using @devcontainers/cli or similar existing Devcontainer tooling.

@tomtom5152
Copy link

I notice #107 and #135 both mention the same feature set, with the latter claiming it is a massive overhaul to add support for it. Is there still the plan to switch to the @devcontainers/cli tooling or something else? Happy to help out with this if I can, but some overall guidance on where the project wants to take it would be very helpful thanks

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

No branches or pull requests

4 participants