Thursday, 13 April 2017

Docker Apache 403

HI there I am quiet new to docker and apache , I just have a quick question i need help understanding. I have my build in a public/ folder which works fine, when the docker-compose up is run it works just fine. Just say I run npm run clear which is a script I have to remove everything inside the folder and then run npm run build which builds it all again and run docker-compose up, I then see 404 forbidden access on the browser.

I then added --force-recreate tag to the docker command which then makes it work.

i am just wondering why I need to recreate the image if I remove and add the files, and why permission would be denied. Oh and i am using bitnami/apache image.

This is just out out curiosity. If someone would care to educate me on this would be great.



via user3401074

No comments:

Post a Comment