This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine.
Make rule to install doppler (https://www.doppler.com/) CLI to the VM
Make rule to setup doppler project and environment in the VM. We need to have a DOPPLER_TOKEN in this part to set everything correclty. After setting doppler CLI and setting the project we can access the secrets in the terminal with doppler secrets
Make rule to download all doppler secrets into a .env file in srcs/.env
Make rule to run all Docker infra with doppler env files injected into docker compose. We do not need to download the env file for this command. Docker images are built if not created, we create our dir for our volumes and we also create our SSL certificates.
Make rule to run all Docker infra with .env file and docker compose. We NEED to download the env file for this command. Docker images are built if not created, we create our dir for our volumes and we also create our SSL certificates.
Make rule to build all the Docker images (nginx, mariadb, wordpress 8.2) with docker compose
Make rule to bring the whole infra and containers down with docker compose
Make rule to clean all the Docker images and docker containers
Make rule to to delete all Docker related stuff as make clean but it also deletes volumes, networks and images.
docker ps
Check all docker processes runningdocker images
List all images created locallydocker volume ls
List all volumesdocker volume inspect <volume_name>
Extra info about volumesdocker network ls
List all networksdocker exec -it <container_id> sh
Jump into runnig container in interactive mode with entrypoint as shdocker network inspect <network_id>
Shows extra info about the network config (Docker compose manages networking really good)
"IPv4Address": "172.18.0.2/16"
"IPv4Address": "172.18.0.4/16"
"IPv4Address": "172.18.0.3/16"