#1 Using container ( Run the container and publish the port) - not successful
Opened by iverma. Modified

Per the instructions listed in https://docs.fedoraproject.org/en-US/iot/build-docker/

Run the container and publish the port command (sudo podman run -p 8080:80 --name myhttpd --rm fedora:myhttpd) command runs in the foreground and has a different outcome - see below

As a result, not able to access localhost:8080 or 10.88.0.3:8080 from the host system. Fyi, I'm working in the root namespace but that shouldn't be the reason for this behavior.

[root@localhost demo-httpd]# podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/fedora myhttpd da1edfb6db9e 11 seconds ago 328 MB
registry.fedoraproject.org/fedora-minimal rawhide 22936a499627 33 hours ago 138 MB
registry.fedoraproject.org/fedora latest d81c91deec0d 7 days ago 208 MB

[root@localhost demo-httpd]# podman run -p 8080:80 --name myhttpd --rm fedora:myhttpd
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.88.0.3. Set the 'ServerName' directive globally to suppress this message


Metadata