Open
Description
openedon Jul 11, 2017
I can mount a volume in a container by including in Config:
Volumes = new Dictionary<string,object>
{ { "/stage", new object() } }
but is there any way to replicate mounting a specific directory from the docker host like the docker client can using:
docker run -it -v /home/files:/stage ubuntu /bin/bash
I've tried passing a MountPoint as the object but its ignored. I can retrieve the MountPoint using InspectContainerAsync() so guessing that is all its intended for.
The host is ubuntu 16.04 running docker 1.12.6.
I'm running my test under Visual Studio 2017 using NetCore v2.0.0preview2 and Docker.DotNet v2.124.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels