Hosting a website locally using docker.
https://hub.docker.com/r/vishal2232/static-site/
##Steps
Pull the docker image
$ docker pull vishal2232/static-site1
Run docker image.
$ docker run vishal2232/static-site
Run the container in detached mode
$ docker run -d -P --name static-site static-site
$ docker port static-site
terminal output
:
80/tcp -> 0.0.0.0:32769
443/tcp -> 0.0.0.0:32768`
now open the url[http://localhost:32769] (http://localhost:32769)