chore(code-server): mount the docker socket read-only

The flag does not restrict Docker API access; the README says so.
This commit is contained in:
tiennm99 committed 2026-09-18 16:40:01 +07:00
1 parent a82cfcc677
commit 3574c55e0a
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -20,6 +20,6 @@ services:
- PWA_APPNAME=code-server
volumes:
- 'code-server-config:/config'
- '/var/run/docker.sock:/var/run/docker.sock'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
volumes:
code-server-config: