This web Docker image installs httpd daemon along with other useful tools to run a website.
200
This dockerfile is used to deploy a web server contains Apache, MySQL (which you need to configure at the start) and PHP on Debian 10 operating system.
Build the image with
docker build . -t IMAGE_NAME
Run the container with
docker run -it -p 8080:8080 IMAGE_NAME
This will start the default commands to setup MySQL.
The output confirms that your MariaDB installation is now secure.
After this the web server is done. You can make a dockerfile of your own if you wish to add PHPMyAdmin or WordPress to the image.
Setting up Apache web server along with the tools used can you be tricky.
If you run into server specific issues you can try your luck https://www.reddit.com/r/apache/
If you need help with the Debian operating system you can seek help from here https://www.reddit.com/r/debian/
If there are problems with Docker in general, head out to https://www.reddit.com/r/docker/
Content type
Image
Digest
Size
140 MB
Last updated
over 5 years ago
docker pull mikkiskarjis/web