mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
The pkg/archive/archive_linux_test.go tests create a test archive content in a temporary directory. This also includes device nodes (using mknod). Running these tests in Docker-in-Docker (dind) with systemd was failing with "operation not permitted" because the rootfs is remounted with `nodev`. This change aligns `hack/dind-systemd` with `hack/dind` by conditionally mounting a `tmpfs` on `/tmp` (with dev enabled), to make the mknod work. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
3.3 KiB
Executable File
3.3 KiB
Executable File