Skip to content
Discussion options

You must be logged in to vote

So I was actually trying to use docker outside of docker so I had to make a slightly different change than just following your example.

You are correct though, I needed to provide the Docker daemon to the Dev Container (by adding the docker-outside-of-docker feature of dev containers).

For my dev container I was actually using docker compose so this ended up being my full set up:
devcontainer.json:

{
    "name": "C# (.NET) and PostgreSQL",
    "dockerComposeFile": "docker-compose.yml",
    "service": "app",
    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
	"features": {
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	},
	"customizations": {
		"vscode"…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HofmeisterAn
Comment options

@JackFrostStudios
Comment options

Answer selected by JackFrostStudios
@HofmeisterAn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants