you don’t need volumes-from unless it is ANOTHER volume in addition to the named volume
the volume create has nothing to do with a container
docker volume create --name fred /media/pi/mydrive <--- only do once
docker run -v fred:/var/www/html/
Share and learn in the Docker community.
you don’t need volumes-from unless it is ANOTHER volume in addition to the named volume
the volume create has nothing to do with a container
docker volume create --name fred /media/pi/mydrive <--- only do once
docker run -v fred:/var/www/html/