pkg/libcontainer/mount
Alexander Larsson 2d9fd36002 Always mount a /run tmpfs in the container
All modern distros set up /run to be a tmpfs, see for instance:
https://wiki.debian.org/ReleaseGoals/RunDirectory

Its a very useful place to store pid-files, sockets and other things
that only live at runtime and that should not be stored in the image.

This is also useful when running systemd inside a container, as it
will try to mount /run if not already mounted, which will fail for
non-privileged container.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-05-12 21:41:04 +02:00
..
nodes Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00
init.go Always mount a /run tmpfs in the container 2014-05-12 21:41:04 +02:00
msmoveroot.go Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00
pivotroot.go Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00
ptmx.go Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00
readonly.go Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00
remount.go Refactor mounts into pkg to make changes easier 2014-04-24 10:35:20 -07:00