Create volume with docker volume with a custom Mountpoint
The syntax is
docker volume create -d local -o o=bind -o device=/your/path
Or in docker-compose
volumes: mydata: driver: local driver_opts: o: bind device: /your/path
The syntax is
docker volume create -d local -o o=bind -o device=/your/path
Or in docker-compose
volumes: mydata: driver: local driver_opts: o: bind device: /your/path