Skip to content

Can I run docker in codespaces? #48003

Discussion options

You must be logged in to vote

Just as a brief answer, yes you can. You don't actually need to run Docker inside of your codespace, as it is already a Docker container of its own. What you should do is define a devcontainer config along with a docker-compose config, and then just create a new codespace not from scratch, but from your devcontainer config.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@practical-dreamer
Comment options

@khantseithu
Comment options

Answer selected by khantseithu
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
4 participants