#if you don't have docker yet
dietpi-software install 134 162 185
reboot
#In your web browser, Make a user and password first time.
YourPassword
Get Started
click local
container
add templates on the left
httpd
Name: httpd
+ Show advanced options
Port mapping 8081 on the left and 80 on the right. Left one is the one used to connect.
for that 8081, this is where it is optional to change so you can connect to a diffenet port
#/usr/local/apche2/htdocs is where httpd uses for your website
#on the host i use /var/www that means my website is on the host in this folder. when the container it binds to that folder.
Deploy the container
#try your page
#### DONE apache sould work now ####
#shows the current dockers running
docker ps
#shows all dockers
docker ps -a
#to get into your container
docker exec -it httpd /bin/bash
#if you need to use the config file
apt-get update
apt-get install nano
#config file is
nano /usr/local/apache2/conf/httpd.conf