We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c83395 commit a2bf7f7Copy full SHA for a2bf7f7
.devcontainer/devcontainer.json
@@ -2,5 +2,7 @@
2
"name": "DevPod Development",
3
"image": "ghcr.io/loft-sh/devpod:dev",
4
"remoteUser": "devpod",
5
- "postCreateCommand": "bash ./.devcontainer/post_create.sh"
+ "postCreateCommand": "bash ./.devcontainer/post_create.sh",
6
+ // Required for DinD
7
+ "privileged": true
8
}
.devcontainer/post_create.sh
@@ -14,6 +14,9 @@ if [[ ! -f "$REBUILD_SCRIPT" ]]; then
14
exit 1
15
fi
16
17
+# Start docker daemon. The script should've been put here by the DinD devcontainer feature
18
+log "Starting Docker Daemon"
19
+sudo /usr/local/share/docker-init.sh
20
21
log "Building initial version of devpod binary"
22
chmod +x "$REBUILD_SCRIPT"
0 commit comments