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 ubuntuwill exit as soon as ubuntu has finished startingdocker run ubuntu sleep 5executessleep 5and 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: