You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
I am able to view the contents of NFS shared files inside vagrant ssh at the path /vagrant however my folders from Mac are not showing up in the /src directory where the run command mounts them. With docker run command:
docker run -d \
-P --name db \
-e APP=db \
-e MYSQL_ROOT_PASSWORD=ROOTPASSWORD \
-e MYSQL_USER=DBUSERNAME \
-e MYSQL_PASSWORD=DBPASSWORD \
-v /Users/username/Sites/mysqldata:/src \
mysql
The config above worked with boot2docker, but now that I've migrated to boot2docker-vagrant-box, the mount works into the vagrant box, but my /src directory in the mysql container is empty. The src dir is created though and looks like this:
Answering my own question, the paths change from the Mac full system path, to the full system path of the NFS share inside the vagrant box, by default, /vagrant, so:
I am able to view the contents of NFS shared files inside
vagrant ssh
at the path/vagrant
however my folders from Mac are not showing up in the /src directory where the run command mounts them. With docker run command:The config above worked with boot2docker, but now that I've migrated to boot2docker-vagrant-box, the mount works into the vagrant box, but my /src directory in the mysql container is empty. The src dir is created though and looks like this:
What am I missing?
The text was updated successfully, but these errors were encountered: