Sign inSign up

arprastogi/amazonlinux2-httpd

By arprastogi

•Updated almost 8 years ago

AmazonLinux 2 OS Dockerfile for Apache httpd + mod_ssl

Image
0

317

arprastogi/amazonlinux2-httpd repository overview

⁠amazonlinux2-httpd

AmazonLinux 2 OS Dockerfile for Apache httpd + mod_ssl

⁠Build

Copy the sources down and do the build Source location : https://github.com/arprastogi/amazonlinux2-httpd⁠

⁠docker build --rm -t /httpd .

Usage To assign a random port that maps to port 80 on the container:

⁠docker run -d -p 8080 /httpd

To the port that the container is listening on:

⁠docker ps

Test

⁠curl http://localhost:80⁠

Tag summary

Content type

Image

Digest

Size

85.4 MB

Last updated

almost 8 years ago

docker pull arprastogi/amazonlinux2-httpd