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

Example devcontainer for docker in docker #19689

Open
nhorton opened this issue Apr 30, 2024 · 1 comment
Open

Example devcontainer for docker in docker #19689

nhorton opened this issue Apr 30, 2024 · 1 comment

Comments

@nhorton
Copy link

nhorton commented Apr 30, 2024

We use Gitpod largely because it supports Docker-compose inside the main docker image. We now want to use devcontainer files for having VSCode properly run some of the functionality inside an inner docker container, but normal guides on how to do that end up with something that conflicts with the remote docker container of Gitpod itself.

Can you help with an example of a docker-in-docker devcontainer file for Gitpod?

@svenefftinge
Copy link
Member

You can run devcontainers in Gitpod, but I'm not sure devcontainer with docker in docker can work in gitpod, as gitpod workspaces are themselves run in docker. So this would be two docker in dockers.
Can you provide an example repository that allows us to reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants