Docker Community Forums

Share and learn in the Docker community.

Docker compose - Mounting Volume

docker

(Ramesh200392) #1

I am used the below command to create docker-compose.yml file

curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-phpmyadmin/master/docker-compose.yml > docker-compose.yml

And I am planning to change the data mounting point from /var/lib/docker/volumes here to /dev/sdb2/dockerData. I am unable to change the mounting point, could any one help me to change the mounting point.