Running Apache as a Docker is easy, and should be running that way to protect a companys data.
Login to the Docker Host – create an folder for having the webpage files
$ mkdir -p /storage/Apache2 $ cd /storage/Apache2 $ docker run -dit –name apache-test -p 14000:80 -v “$PWD”:/usr/local/apache2/htdocs/ httpd:latest |
And the port 14000 is now running our apache server from within the folder tyour located at – so now you can copy the files into the folder /storage/Apache2 ehich is where apache is looking for the website