Example: $ cd ~
$ mkdir apache
$ cd apache
$ mkdir html
$ echo "Hello World" > html/index.html
$ docker run -d -p 8080:80 -p 8081:443 -v $(pwd)/html:/var/www/html --name apache angeloevaldez/http
$ curl localhost:8080 Hello World
Content type
Image
Digest
Size
122.5 MB
Last updated
over 9 years ago
docker pull angeloevaldez/http