devcontainer: enable accessing host Docker socket
This commit is contained in:
parent
af9f89a7f5
commit
af87ba5ed1
@ -6,6 +6,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
- /var/run/docker.sock:/var/run/docker-host.sock
|
||||
command: sleep infinity
|
||||
memcached:
|
||||
image: memcached:latest
|
||||
|
@ -13,5 +13,8 @@
|
||||
"postCreateCommand": ".devcontainer/boot.sh",
|
||||
"forwardPorts": [
|
||||
4567
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user