devcontainer: enable accessing host Docker socket
All checks were successful
Gitea Actions Demo / lint (push) Successful in 2m29s
Gitea Actions Demo / test (push) Successful in 2m20s
Gitea Actions Demo / release-image (push) Successful in 2m12s

This commit is contained in:
Ryan Cavicchioni 2025-03-30 15:58:41 -05:00
parent af9f89a7f5
commit af87ba5ed1
Signed by: ryanc
SSH Key Fingerprint: SHA256:KbXiwUnZnHFwFtt3Bytd+F3FN9pPHn1Z1cxMIE1TPbg
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -13,5 +13,8 @@
"postCreateCommand": ".devcontainer/boot.sh",
"forwardPorts": [
4567
]
],
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
}
}