Skip to content

Commit

Permalink
Merge pull request #8 from codersforcauses/NONE/setup-dev-containers
Browse files Browse the repository at this point in the history
NONE Fix Docker-outside-of-docker access
  • Loading branch information
frinzekt committed Feb 25, 2024
2 parents e6f248d + 3aa9615 commit c78c05e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cfc-devenv-base/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
},

"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "latest",
"enableNonRootDocker": "true"
},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/node:1": {},
Expand All @@ -30,7 +33,6 @@
},

"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
"source=devcontainer-bashhistory,target=/commandhistory,type=volume"
],

Expand Down

0 comments on commit c78c05e

Please sign in to comment.