When unpacking using reprounzip-docker, the files from the original docker image (that are not from the experiment) are completely wiped. This is because of the change in #116 to add -U --recursive-unlink to tar (11929b3).
It seems that I can either pass that, and then the original files from the image get deleted when unpacking files in the same directories (for example, most of /etc vanishes), or not pass it, in which case when a path is a file in the experiment and a directory in the original image, unpacking will fail (it's the case when unpacking a Fedora experiment in a Debian docker image).
Possible solution here is to not just use tar to unpack, since it doesn't seem to have an option for the behavior I need. Extracting the Docker image and putting the files in it myself should work (but is more involved than changing tar flags).
When unpacking using reprounzip-docker, the files from the original docker image (that are not from the experiment) are completely wiped. This is because of the change in #116 to add
-U --recursive-unlinkto tar (11929b3).It seems that I can either pass that, and then the original files from the image get deleted when unpacking files in the same directories (for example, most of /etc vanishes), or not pass it, in which case when a path is a file in the experiment and a directory in the original image, unpacking will fail (it's the case when unpacking a Fedora experiment in a Debian docker image).
Possible solution here is to not just use tar to unpack, since it doesn't seem to have an option for the behavior I need. Extracting the Docker image and putting the files in it myself should work (but is more involved than changing tar flags).