dotcloud/docker — pull request #6196 by alexlarsson (2014-06-04 11:33:59+00:00)
Title: New implementation of /run support

This is an alternative implementation of https://github.com/dotcloud/docker/pull/5991 that uses a tmpfs
set up on the host which is then moved into the container, rather than mounting it inside the container
and copying the files there via libcontainer.

This mounts a /run tmpfs into the container, with the initial contents
copies from the /run in the base image, unless NoRunFs is set in the
HostConfig.

Additionally NoRunFs is always set during a docker build, which means
any setup of /run in a Dockerfile is saved in the image to be copied
into the final /run tmpfs when a container is started.