Docker multiple Volume-driver

docker

Is it possible with Docker 1.8+ to specify different volume-drivers for different volumes in one container?

So I can use with one volume the default driver for local storage and one different with NFS or something?

Except mounting the host system with an NFS folder.

Best Answer

This is impossible, only one driver is used for the contener as decribed in the man page of docker 1.11

--volume-driver=""
     Container's volume driver. This driver creates volumes specified either from
     a Dockerfile's VOLUME instruction or from the docker run -v flag.
     See docker-volume-create(1) for full details.

and from a Docker Member citation from docker's github