Use vfs storage driver for inner dockerd
Some checks failed
Build and push image / build-and-push (push) Failing after 8m16s
Some checks failed
Build and push image / build-and-push (push) Failing after 8m16s
overlay2 (the default) tries to mount an overlayfs layer on top of the job container's own overlay-mounted root filesystem, which the kernel rejects (invalid argument). vfs sidesteps nested overlay mounts entirely. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
fdb62dfa87
commit
4690e66cc3
1 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,9 @@ jobs:
|
|||
> /etc/apt/sources.list.d/docker.list
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io
|
||||
dockerd &
|
||||
# vfs avoids nested overlayfs (the job container's own root is
|
||||
# itself an overlay mount, and overlay-on-overlay fails).
|
||||
dockerd --storage-driver=vfs &
|
||||
for i in $(seq 1 30); do
|
||||
docker info >/dev/null 2>&1 && break
|
||||
sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue