Skip to content

Commit dcc1a08

Browse files
committed
Mount docker socket via compose
1 parent 56dbf5b commit dcc1a08

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.devcontainer/devcontainer.json

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"name": "Packet Codespace (python and postgres)",
44
"dockerComposeFile": "docker-compose.yaml",
55
"service": "app",
6-
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind" ],
76

87
// Set *default* container specific settings.json values on container create.
98
"settings": {

.devcontainer/docker-compose.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
NODE_VERSION: "10"
1010

1111
volumes:
12+
- /var/run/docker.sock:/var/run/docker.sock
1213
- ..:/workspace:cached
1314

1415
# Overrides default command so things don't shut down after the process ends.

0 commit comments

Comments
 (0)