moby / tool

Temporary repository for the moby assembly tool used by the Moby project
Apache License 2.0
75 stars 65 forks source link

Add support for mount in runtime config #145

Closed justincormack closed 7 years ago

justincormack commented 7 years ago

This could be used in LinuxKit now, as there are some examples, eg https://github.com/linuxkit/linuxkit/blob/master/blueprints/docker-for-mac/base.yml#L33 which are creating containers to do a mount.

This now also uses these to generate the mounts needed for writeable containers, and also automatically de-dups containers that share the same image by using the same mount as the source.

Signed-off-by: Justin Cormack justin.cormack@docker.com