1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/archive
Derek McGowan bd13c53f8d Fix overlay2 ignoring whiteout files
Currently when overlay creates a whiteout file then the overlay2 layer is archived,
the correct tar header will be created for the whiteout file, but the tar logic will then attempt to open the file causing a failure.
When tar encounters such failures the file is skipped and excluded for the archive, causing the whiteout to be ignored.
By skipping the copy of empty files, no open attempt will be made on whiteout files.

Fixes #23863

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-06-23 13:34:38 -07:00
..
testdata Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
archive.go Fix overlay2 ignoring whiteout files 2016-06-23 13:34:38 -07:00
archive_linux.go Fix overlay2 ignoring whiteout files 2016-06-23 13:34:38 -07:00
archive_other.go Update archive package to support overlay whiteouts 2016-06-08 00:10:16 -07:00
archive_test.go fix typos 2016-06-02 17:17:22 +08:00
archive_unix.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
archive_unix_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
archive_windows.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
archive_windows_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
changes.go Update archive package to support overlay whiteouts 2016-06-08 00:10:16 -07:00
changes_linux.go Update archive package to support overlay whiteouts 2016-06-08 00:10:16 -07:00
changes_other.go Windows: Docker build starting to work 2015-06-17 10:41:28 -07:00
changes_posix_test.go Add user namespace (mapping) support to the Docker engine 2015-10-09 17:47:37 -04:00
changes_test.go fix typos 2016-06-02 17:17:22 +08:00
changes_unix.go Fixes #9283. Consider hardlinks in image size. 2015-10-17 12:24:05 +02:00
changes_windows.go Fixes #9283. Consider hardlinks in image size. 2015-10-17 12:24:05 +02:00
copy.go Add '-L' option for cp 2015-11-21 00:36:56 +08:00
copy_unix.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
copy_unix_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
copy_windows.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
diff.go Fix opq whiteouts problems for files with dot prefix 2015-11-08 23:00:01 -08:00
diff_test.go Windows CI: test-unit on pkg\archive part 2 2016-02-12 15:40:41 -08:00
example_changes.go archive: example app for diffing directories 2014-10-29 14:52:59 -04:00
README.md Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
time_linux.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
time_unsupported.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
utils_test.go Enable golint in pkg/arcive 2015-08-04 09:52:54 +08:00
whiteouts.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
wrap.go Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum! 2015-05-01 16:01:10 -06:00
wrap_test.go Add coverage on pkg/archive 2015-04-24 17:03:33 +02:00

This code provides helper functions for dealing with archive files.