If the destination does not exist, it needs to be created with ownership mapping to the remapped uid/gid ranges if user namespaces are enabled. This fixes ADD operations, similar to the prior fixes for COPY and WORKDIR. Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp) Upstream-commit: 06d95003b3ddd22d26121280d645e48582a4f931 Component: engine
This code provides helper functions for dealing with archive files.