Simple static site with Apache
204
docker pull usmanmusa/apache-static-site
Now bring it to live, but make sure you have nothing running on port 80, it is the port that the apache will be using, while port 8080 is the one you will be visiting.
docker run -p 8080:80 -d usmanmusa/apache-static-site
Now visit http://0.0.0.0:8080
Clone the github repository here!
You can run the container and access its shell using the docker run command with the -it (interactive + TTY) flag, and specify /bin/sh or /bin/bash as the shell (since Alpine-based images typically use sh):
docker run -it usmanmusa/apache-static-site /bin/sh
# or
docker run -it usmanmusa/apache-static-site sh
docker pull usmanmusa/apache-static-site:latest