Commit 81cecbb
committed
Also mount /var/lib/containerd on a volume for DinD buildkit
Buildkit (embedded in dockerd) uses containerd's overlayfs snapshotter for
cache mounts. Its layer dirs live under /var/lib/containerd. If that path
sits on the workspace's overlay writable layer, the kernel refuses the
nested overlay mount (redirect_dir=off, EINVAL).
Add a second per-workspace docker volume (containerd_data) mounted at
/var/lib/containerd so the snapshotter has a non-overlay backing, same
fix pattern as /var/lib/docker.1 parent 45677ae commit 81cecbb
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
466 | 489 | | |
467 | 490 | | |
468 | 491 | | |
| |||
567 | 590 | | |
568 | 591 | | |
569 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
570 | 599 | | |
571 | 600 | | |
572 | 601 | | |
| |||
0 commit comments