Viewing mounted docker container in browser
I have a created a mounted container using the following:
docker run --privileged -di -p 80:80 -p 443:443 -v /home/nshneor/workspace/manageiq:/var/www/miq/vmdb manageiq/manageiq
Unfortunately I am not able to view the app through
When I’m not mounting the container on a local dir i.e create the container using:
docker run --privileged -di -p 80:80 -p 443:443 manageiq/manageiq
I am able to view it in
Any ideas as to why this is happening?
Thanks in advance!
One Solution collect form web for “Viewing mounted docker container in browser”
Are you sure the container has the right permissions for that directory.
Check it by loging in inside the container.
docker exec -t [container-name] /bin/bash