In DO180, Chapter 3, Section 5, there is this example:
The problem is that it doesn't create an accessible Apache web server, as seen here:
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:
This issue persists throughout the content in this section:
The following should be -p 127.0.0.1:8081:8080
The following should be -p 127.0.0.1::8080
The following should be -p 8080
yes the ExposedPorts it seems are 8080/tcp and 8443/tcp for this container image.
A collaborative learning environment, enabling open source skill development.