Aides Docker
How to solve error while creating mount source path ?
-
When starting glassfish and derby in a docker container, you might get the following error message:
... docker: Error response from daemon: error while creating mount source path ... mkdir ... permission denied
- This probably comes from the rights on your working directory. Check that the parent directories may be traversed with the "x" right for others and the directory with the application code is readable and traversable by others with the "r" and "x" rights.
-
Adapt the following commands:
chmod -R o+x YOUR_HOME_DIRECTORYchmod -R o+rx YOUR_APPLICATION_DIRECTORY