mysql-- vessel failed to start

ERROR: for mysql Cannot start service mysql: b'Mounts denied: \r\nThe paths /mnt/Archery/src/docker-compose/mysql/my.cnf and /mnt/Archery/src/docker-compose/mysql/datadir\r\nare not shared from OS X and are not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.'
ERROR: Encountered errors while bringing up the project.

solution:

1、

 

 

 

 

After the setup is complete docker-compose -f docker-compose.yml up 
to success


 

Guess you like

Origin www.cnblogs.com/lutt/p/12378508.html