This is the pull request to which I was talking about. It basically
allows for mount propagation. https://github.com/docker/docker/pull/17034 This basically means you can do something like # docker run -ti -v /:/host:rshared --privileged fedora sh # mount REMOTE:DIR /host/mnt # exit And you should see the REMOTE:DIR mounted on /mnt With atomic command you would then build your image with a label describing the docker run command, and you could implement atomic run MYIMAGE mount REMOTE:DIR /host/mnt and atomic run MYIMAGE umount /host/mnt On 01/11/2016 04:33 PM, Matt Micene
wrote:
|