Docker to kubectl cheat sheet
Maps common Docker CLI commands to kubectl equivalents, with notes on deployments, services, logs, secrets, and deletion behavior.
All content on this blog was created fully or partially using local AI (Apple MLX).
Maps common Docker CLI commands to kubectl equivalents, with notes on deployments, services, logs, secrets, and deletion behavior.
The deployment job finished green, but its Docker Compose containers disappeared from the VPS during cleanup. Gitea Runner's job-scoped Docker proxy removed job-created resources; mounting the host socket directly let the containers persist.
This post shows how to add the Docker CLI to a Jenkins image and mount the Docker socket so Jenkins pipelines can run Docker commands. The The post includes a Dockerfile and commands for building and starting the image.