moby/pkg/chrootarchive
Gabriel Adrian Samfira f49c88f1c4
Disable chrootarchive.init() on Windows
Disables user.Lookup() and net.LookupHost() in the init() function on Windows.

Any package that simply imports pkg/chrootarchive will panic on Windows
Nano Server, due to missing netapi32.dll. While docker itself is not
meant to run on Nano Server, binaries that may import this package and
run on Nano server, will fail even if they don't really use any of the
functionality in this package while running on Nano.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-01-18 16:34:13 +02:00
..
archive.go Disable chrootarchive.init() on Windows 2023-01-18 16:34:13 +02:00
archive_test.go pkg/chrootarchive: gofumpt test files 2022-10-16 14:09:06 +02:00
archive_unix.go Disable chrootarchive.init() on Windows 2023-01-18 16:34:13 +02:00
archive_unix_test.go pkg/chrootarchive: gofumpt test files 2022-10-16 14:09:06 +02:00
archive_windows.go Add reusable chroot and unshare utilities 2022-10-26 12:06:31 -04:00
chroot_linux.go Add reusable chroot and unshare utilities 2022-10-26 12:06:31 -04:00
diff.go Add canonical import comment 2018-02-05 16:51:57 -05:00
diff_unix.go Add reusable chroot and unshare utilities 2022-10-26 12:06:31 -04:00
diff_windows.go pkg/archive: create whiteout temp dir under dest 2022-10-26 12:04:37 -04:00