richfitz/stevedore

How to mount a volume to a container?

Closed this issue · 1 comments

I want to mount my directory/volume into a container. In docker, I do it by adding -v in the command, for example:

docker run --name test_qgis3_model -it --rm -v ${PWD}/data:/data  ismailsunni/qgis3-model /bin/bash

Is it possible to do it with stevedore? I read the manual, but I couldn't find how to do it.

Thanks :)

Ah, I think I found it, I need to use volume in the docker$container$create function.

I was looking at the wrong location (i.e. volume section)