apt-get update && apt-get upgrade -y && apt-get autoremove && apt-get autoclean

dietpi-software install 134 162 185

reboot

docker pull nginx


#the yellow port can be changed to add more servers.  The yellow folder is where the index.html file is.  need to make it unique for #diffrent servers.  Name will also need to be unique.
docker run -d -t -p 80:80 -v /var/www:/usr/share/nginx/html --name nginx --restart unless-stopped nginx

#shows the current dockers running(portainer is running)
docker ps

#shows stuff
docker exec -it

#try your page   
http://192.168.1.xxx

####    your done with a webserver.      ####




#if you need to stop container
docker stop nginx

#if you need to start container
docker start nginx

#if you need to restart container
docker restart nginx

#if you need to delete container
docker rm nginx



#if you want to get inside your container
docker exec -it nginx /bin/bash