Docker run : Mount multiple volumes

I’d like to run a docker with two volumes mounted inside, from two directory present in the filesystem… how should I do that ?

In docker-compose I would have this for example :

Thanks :slight_smile:

Hey @sariha!
Unfortunately, it’s not possible to do it at the moment. However, this a very interesting use-case – I’ve just issued a task on our internal board to discuss it. As soon as we find a solution we’ll get back to you.

Hi @Kivlov,
is there any possibility to use docker-compose ?

thanks :blush:

No – docker-compose is still in the development. We’d let you know if it was :wink:

1 Like

Thanks :slight_smile:

Hi @sariha,
It’s been a while but we’re happy to say it is now possible to mount multiple volumes to a single container: