Add host runtime config for dind xattr support
This commit is contained in:
1 parent
d899f86182
commit
4b55d6e402
2 files changed
+59
-1
No files matched your search
@@ -212,7 +212,14 @@ filesystem path cannot set the `security.capability` xattr on files such as
|
||||
`/usr/bin/ping`, which many Ubuntu runner images contain.
|
||||
|
||||
The disk-backed dind setup needs an overlay filestore to support those xattrs.
|
||||
Add this to the host's `runsc-docker` runtime:
|
||||
A host daemon configuration example with the required runtime change is included
|
||||
at:
|
||||
|
||||
```text
|
||||
host/daemon.json.example
|
||||
```
|
||||
|
||||
The relevant entry is:
|
||||
|
||||
```json
|
||||
"runsc-docker": {
|
||||
@@ -225,6 +232,9 @@ Add this to the host's `runsc-docker` runtime:
|
||||
}
|
||||
```
|
||||
|
||||
Merge that runtime entry into the host's `/etc/docker/daemon.json`, then restart
|
||||
the Docker daemon.
|
||||
|
||||
The Compose file mounts:
|
||||
|
||||
```text
|
||||
@@ -292,5 +302,6 @@ runner/config.yaml
|
||||
gvisor/images/basic/docker/Dockerfile
|
||||
gvisor/images/basic/docker/start-dockerd.sh
|
||||
dind-runsc/resolv.conf
|
||||
host/daemon.json.example
|
||||
scripts/workflow-*.yml
|
||||
```
|
||||
Reference in new issue
Block a user