How to utilize Docker Compose Profiles in Dev Container? #494
Unanswered
crimsonvspurple
asked this question in
Q&A
Replies: 3 comments
-
This is currently not supported. See microsoft/vscode-remote-release#5795 and devcontainers/cli#669. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Im just wondering, docker image already has runArgs, why not allow it on docker compose? so we can just add the --profile parameter |
Beta Was this translation helpful? Give feedback.
0 replies
-
..
El mié, 30 de oct de 2024, 6:58 a. m., SiegfredRodriguez <
***@***.***> escribió:
… Im just wondering, docker image already has runArgs, why not allow it on
docker compose?
—
Reply to this email directly, view it on GitHub
<#494 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BL6ZLW6LNE2OUIMTEJSXECDZ6DJX7AVCNFSM6AAAAABM4GQM4CVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQGAYDQNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a dev container system that I'm trying to use for CI too. For this, I feel the docker compose profile feature would simplify a lot of things but I'm not sure if I'm missing something simple...I can't find anything related to this.
How can I select a profile when building/running a dev container (using docker-compose) based on some environment variable such as CI=true?
Ref:
https://github.com/devcontainers/cli
https://github.com/devcontainers/ci
https://docs.docker.com/reference/compose-file/services/#profiles
Beta Was this translation helpful? Give feedback.
All reactions