cancel
Showing results for 
Search instead for 
Did you mean: 
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 1,673 Views

Error in DO180, Chapter 3, Section 5

In DO180, Chapter 3, Section 5, there is this example:

3.JPG

The problem is that it doesn't create an accessible Apache web server, as seen here:

1.JPG

The reason is that the container image's Apache server is configured to listen on port 8080, not port 80.

If configured this way (-p 8080:8080), it works:

2.JPG

This issue persists throughout the content in this section:

The following should be -p 127.0.0.1:8081:8080

4.JPG

The following should be -p 127.0.0.1::8080

7.JPG

The following should be -p 8080

6.JPG

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
Labels (4)
2 Replies
linuxss
Mission Specialist
Mission Specialist
  • 1,601 Views

yes the ExposedPorts it seems are 8080/tcp and 8443/tcp for this container image.

vhoebel
Mission Specialist
Mission Specialist
  • 1,389 Views

This error still exists, just stumbled across this today.

0 Kudos
Join the discussion
You must log in to join this conversation.