1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Derek McGowan d99f4cc83d 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)
(cherry picked from commit bd13c53f8d)
2016-06-30 16:47:46 -07:00
..
caps
cluster Unify swarm init and update options 2016-06-30 16:47:44 -07:00
events
exec
graphdriver Fix overlay2 ignoring whiteout files 2016-06-30 16:47:46 -07:00
links
logger Fixing file handle leak for "docker logs" 2016-06-30 16:47:44 -07:00
network
apparmor_default.go
apparmor_default_unsupported.go
archive.go
archive_unix.go
archive_windows.go
attach.go
auth.go
changes.go
commit.go
config.go
config_experimental.go
config_solaris.go
config_stub.go
config_test.go
config_unix.go
config_windows.go
container.go
container_operations.go
container_operations_solaris.go
container_operations_unix.go
container_operations_windows.go
create.go
create_unix.go
create_windows.go
daemon.go
daemon_experimental.go
daemon_linux.go
daemon_linux_test.go
daemon_solaris.go
daemon_stub.go
daemon_test.go
daemon_unix.go
daemon_unix_test.go
daemon_unsupported.go
daemon_windows.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go
delete_test.go
discovery.go
discovery_test.go
errors.go
events.go
events_test.go
exec.go
exec_linux.go
exec_solaris.go
exec_windows.go
export.go
health.go
health_test.go
image.go
image_delete.go
image_exporter.go
image_history.go
image_inspect.go
image_pull.go
image_push.go
image_tag.go
images.go
import.go
info.go
inspect.go
inspect_solaris.go
inspect_unix.go
inspect_windows.go
kill.go
links.go
links_test.go
list.go
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go Fixing file handle leak for "docker logs" 2016-06-30 16:47:44 -07:00
monitor.go
monitor_linux.go
monitor_solaris.go
monitor_windows.go
mounts.go
names.go
network.go
oci_linux.go
oci_solaris.go
oci_windows.go
pause.go
rename.go
resize.go
restart.go
search.go
search_test.go
seccomp_disabled.go
seccomp_linux.go
selinux_linux.go
selinux_unsupported.go
start.go
start_linux.go
start_windows.go
stats.go
stats_collector_solaris.go
stats_collector_unix.go
stats_collector_windows.go
stop.go
top_unix.go
top_windows.go
unpause.go
update.go
update_linux.go
update_solaris.go
update_windows.go
volumes.go
volumes_unit_test.go
volumes_unix.go
volumes_windows.go
wait.go