More info about port mapping in docker: https://yuminlee2.medium.com/docker-por ... dd1d94fa54
If you deploy your Apache docker container using docker-compose.yml, then you could specify
the port like
ports:
- '8080:80' // Host port : Container port
See e.g. https://www.theserverside.com/blog/Coff ... ttpd-image
If you start your docker container manually, the you could specify to use another port on the command line.
See e.g. https://github.com/docker-library/php/issues/94
If you deploy your Apache docker container using docker-compose.yml, then you could specify
the port like
ports:
- '8080:80' // Host port : Container port
See e.g. https://www.theserverside.com/blog/Coff ... ttpd-image
If you start your docker container manually, the you could specify to use another port on the command line.
See e.g. https://github.com/docker-library/php/issues/94
Statistics: Posted by pe7er — Thu Jan 25, 2024 9:21 am