I have discovered that if you create docker-compose file with volume
and volume_driver
attributes, that the volume_driver
assignment is ignored if your volume
assignment has a leading ‘/’ (slash) when you pass it to rancher_compose
application - eg /vol1:/vol1
creates volume on Docker local
storage, but vol1:/vol1
creates volume on convoy
storage.
I hope this saves someone the few hours I have spent tracking this nuance down… BTW, this is not a Rancher nuance, same thing happens if you issue the ‘run’ commands directly to Docker.