You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Evil Wizard edited this page Feb 10, 2023
·
2 revisions
Host Network
This creates a named container and attaches it to the host network and may cause port conflict if the host machine is already listening on any exposed ports from the Docker Image being used.
To Volume Mount the folder public_html from the current folder to /var/www/html on the running container. It is where Apache serves the content from & allows for realtime change updates.
Using -p 8080:80/tcp
To map port 8080 on the Host machine to port 80 on the Container using the bridge network.