Skip to content

Compose shell access to sibling containers #113197

Discussion options

You must be logged in to vote

It sounds like "no" to built-in support in codespaces interface and "yes" to you must install docker inside the dev container, though default devcontainer has it already installed. It isn't clear if it's functioning in sibling mode (bind mounted /var/run/docker.sock) or true docker-in-docker. Either way, it doesn't appear Docker fully supports this: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/. This appears to be a major obstacle for codespaces.

Generally the whole point of dev container is to provide a pre-built image containing the specific tools to build the project, which means the default container generally isn't going to cut it. So it sounds like the on…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@slominskir
Comment options

Answer selected by slominskir
Comment options

You must be logged in to vote
1 reply
@slominskir
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question inactive This discussion has been automatically marked as inactive. This was formerly labeled stale.
2 participants