If you use persistent data volumes in Docker, you might want to access them via command-line. If your docker host is Linux, that's not a problem; you can find Docker volumes by /var/lib/docker/volumes path.
However, that's not the case when you use Docker for Mac. Try to ...