What operating system are you running Docker on?
I wonder if it is a permissions issue with the www
directory that is being bind-mounted into the container.
It strikes me as similar to the issue that @gmagnusson encountered in Hosting with Docker - #6 by mstenta