Thanks to the tutorial Docker for Beginners from KodeKloud.
- Contains only live as long as their entry point is running
- Running e.g.
docker run ubuntu
will exit as soon as ubuntu has finished startingdocker run ubuntu sleep 5
executessleep 5
and then exits
- Running e.g.
- Find docker's files
- Unix:
/var/lib/docker
- Windows
- Run
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -i sh
- Run
- Unix: