HUB
Sign inSign up
apache-static-site logo

usmanmusa/apache-static-site

By usmanmusa

•Updated about 2 years ago

Simple static site with Apache

Image
Web servers
0

204

usmanmusa/apache-static-site repository overview

⁠Step of running this site after cloning from docker-hub

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
Tag summary
Recent tags
Content type
Image
Digest
sha256:892e35038…
Size
90.6 MB
Last updated
about 2 years ago
docker pull usmanmusa/apache-static-site:latest