Files
containerd/pkg
Ian Campbell 0161764ef5 Always use a writeable snapshot as the rootfs.
This will be made readonly by runc based on spec.Root.Readonly (which we
already set correctly) but defering until then gives runc the chance to make
any missing mount points as it processes the spec.Mount array.

This is necessary because many container images lack mount points for things
like the /etc/hosts which we want to overbind. This is not noticed with e.g.
Docker because it automatically creates an additional layer containing those.
This is something we may want to do here as well eventually but for now using a
writeable snapshot is both necessary and sufficient.

The same does not apply to the sandbox since we never modify its rootfs or want
to mount anything in it etc, add a comment to clarify.

Fixes #220.

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-09-06 22:20:14 +01:00
..
2017-08-23 23:48:31 +00:00
2017-06-16 17:18:14 +00:00
2017-05-12 13:14:25 -07:00
2017-08-25 01:38:05 +00:00
2017-08-23 23:46:55 +00:00
2017-04-24 14:46:16 -04:00