Tracy_Baker
Starfighter Starfighter
Starfighter
  • 251 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
0 Kudos
1 Reply
linuxss
Cadet
Cadet
  • 179 Views

Re: Error in DO180, Chapter 3, Section 5

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

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