Debian with Apache Server
161
This image allows to get Apache running on Docker.
To pull an image from a registry, simply start the container using the following command:
docker pull eliottbacker/debian-apache
To run apache in a background process, simply start the container using the following command:
docker run -p 8080:80 -d debian-apache
If you’re actively developing and you want to be able to change files in your usual editor and have them reflected within the container without having to rebuild it. The -v flag allows us to mount a directory from the host into the container:
docker run -d -p 8080:80 -v `pwd`/www::/var/www/html debian-apache
Please report any issues with the Docker container to https://github.com/EliottBacker/DockerDebianApache/issues
Content type
Image
Digest
Size
68.7 MB
Last updated
over 9 years ago
docker pull eliottbacker/debian-apache