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 https://localhost

  • npm install error with kurento - docker
  • Nginx in Docker container won't run PHP
  • How to set Docker ENTRYPOINT To NPM?
  • What's the default WORKDIR in docker?
  • use cloudera with docker-compose
  • Docker Toolbox setup fails on Windows 8.1
  • 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 https://localhost

    Any ideas as to why this is happening?
    Thanks in advance!

  • Cannot connect to docker daemon
  • Django & WordPress - wp-admin redirect issue
  • docker volume custom mount point [duplicate]
  • docker: Error response from daemon: grpc: the connection is unavailable
  • Can't access app deployed with docker and google cloud
  • Unable to pull docker image - Repository not found
  • 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

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.