I created a docker container, and then I created a file and exited the container.
When I restart the container with:
docker run -i -t ubuntu /bin/bash
the file is nowhere to be found. I checked /var/lib/docker/
and there is another folder created which has my file in it. I know it's something to do with Union FS
.
- How do I start the same container again with my file in it?
- How do I export a container with file change?