Docker Community Forums

Share and learn in the Docker community.

Apache2 run nothing appear


#1

Hello, I’m coming to you because I have a problem.
I have an image that contains an apache server.
When I run it with the command “docker run web” the server works, but I can’t see it with my browser. However, I think it should be localhost.

I can see this message, and after that nothing. Any idea ?
Thanks a lot.


#2

You haven’t exposed port 80. I think you want:

docker run -p 4000:80 web