Docker: PHP deployment in apache, couldn't acces container URL in local browser; shows blank page
You need to expose the container ports locally using either:


docker run --rm -it -p 8080:80 myapp
or a docker-compose.yml file:


services:
  myapp:
    image: myapp:tag
    ports:
    - 8080:80


Then, you'll be able to curl localhost:8080.