-
Notifications
You must be signed in to change notification settings - Fork 301
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
Multiple container config #2143
Comments
|
Supporting multiple devcontainers would be HUGE. When multiple definitions are found, selecting re-open in container should then prompt you to pick one of the container definitions. This would help with developing/testing/debugging code on different versions of linux (not all products are deployed in docker). If a docker.host field can also be added to the config, it would also be great for developing code for embedded platforms like a tegra. The code can be developed on a desktop, and then you can switch to the aarch64 container and run it in that container over SSH on the actual hardware. Currently to do that you need to replace your devcontainer and enter the IP in settings.json. |
A frequent use case for multiple containers Is generally GPU/CPU separate images. |
Thanks for opening this thread! It appears to be along the lines of #1165. While 1165 focuses on different versions of Python in its explanation, I think the overarching point still stands: being able to choose a certain container config from a set of possible configurations when opening your code in a container. I think it'd make sense to migrate to that thread to consolidate our discussion- if that grouping sounds alright with folks in this thread too, I'll go ahead and close this issue to avoid dupes. |
@bamurtaugh Ok can you summarize this thread there? |
I have two suggestions based on my use-case:
postCreateCommand
, it would be nice to have apreCreateCommand
to run commands before the container is created.devcontainer.json
and allow the user to pick which one to run. Similar to the request in OS specific dev containers #2067 but I think it should more generic instead of OS-specific only.If I missed something and there are solutions to these problems (or workarounds) please share.
The text was updated successfully, but these errors were encountered: