1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
based on https://gallery.ecr.aws/docker/library/httpd
The container responds initially on port 80. There is a port remapping done to 8080 via -p on the doc
Then, run the commands to build and run the Docker image:
$ docker build -t my-apache2 .
$ docker run -dit --name my-running-app -p 8080:80 my-apache2
Best,
Didier
Relevant content
- asked 4 months ago
- asked 4 months ago
- asked 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
Can we achieve this port mapping for App runner from AWS console?