mirror of
https://github.com/docker/cli.git
synced 2026-10-08 06:56:31 -04:00
This prevents the following test case failures "go test" is run as non-root in the daemon/ directory: > --- FAIL: TestContainerInitDNS (0.02s) > daemon_test.go:209: chown /tmp/docker-container-test-054812199/volumes: operation not permitted > > --- FAIL: TestDaemonReloadNetworkDiagnosticPort (0.00s) > reload_test.go:525: mkdir /var/lib/docker/network/files/: permission denied > --- FAIL: TestRootMountCleanup (0.00s) > daemon_linux_test.go:240: assertion failed: error is not nil: operation not permitted Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Upstream-commit: 16670ed4842b1ee4853ba39b6ebf2b771d28db9a Component: engine