Mount docker volume to host machine path Mount docker volume to host machine path docker docker

Mount docker volume to host machine path


Looks like a permission issue.

-v /codecoveragereports:/app/***/codecoveragereports is mounting a directory under the root / which is dangerous and you may not have the permission.

It's better to mount locally, like -v $PWD/codecoveragereports:/app/***/codecoveragereports, where $PWD is an environment variable equal to the current working directory.