# Containerized Web Server 1. Run a containerized web server in the background and bind its port (8080) to a local port 2. Verify the port (8080) is bound 3. Reach the webserver from your local host ## Solution ``` $ podman run -d -p 8080 httpd # run the container and bind the port 8080 to a local port $ podman port -l 8080 # show to which local port the port 8080 on the container, binds to 0.0.0.0:41203 $ curl http://0.0.0.0:41203 # use the port from the output of the previous command !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">