Hey everyone! I'm curious about how you typically deploy your Docker projects to production. What setups do you prefer, or do you sometimes skip Docker altogether for production environments? Let's hear your experiences!
1 Answer
In my experience, the common approach is to push your code to Git, which then triggers a pipeline. This pipeline builds the Docker image and pushes it to a registry. A second pipeline takes care of deploying the image to a server, which could be something like AKS, GKE, or EKS. For my homelab, I mix things up with Debian and Docker Compose, along with k3s. I often use rsync for Docker hosts and kapp for k3s deployments.

Do you reconfigure the pipeline for each project in your homelab? At work, I assume you use Docker Compose locally for development before sending everything to Kubernetes. How many users do you have, and do you experience any issues switching between Docker and Kubernetes?