Unable to mount files in Docker

淺唱寂寞╮ 提交于 2019-12-05 11:46:09

what folder permission that the user has(the one you are logged into run the docker-compose command), if that is is root user or the user has access to the folders and please change the ${PWD} to the relative/absolute path of the folder(one which you want to mount to container). docker-compose cant understand the ${PWD} env variable.

Ex: if you want to mount

${PWD}/assets/master/etc/supervisor:/etc/supervisor

it should be

./assets/master/etc/supervisor:/etc/supervisor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!