1 2 3
#!/bin/bash sudo mkdir /var/opt/$1 sudo docker volume create --driver local --opt type=none --opt device=/var/opt/$1 --opt o=bind $1