I have a standard filesystem archive named filesystem.tar
.
I convert it into a Docker image by running
cat filesystem.tar | docker import - test:new
Then, I start a container from this image.
docker run --name test -itd test:new /bin/bash
just export the filesystem of the container directly into a tar file.
docker export test > docker_tarball.tar
I want to know what kind of files will be modified or lost during this process, such as /etc/hosts
, /etc/resolv.conf
, etc.
I would like to understand the changes that will occur in the exported filesystem.