Docker specialist Gemini CLI subagent
Docker specialist is a Gemini CLI subagent for containerising apps with lean, secure images. It reads the app's build and runtime needs and any existing Dockerfile, then writes multi-stage builds, picks small current base images, runs as a non-root user and orders layers for caching.
What it does
It keeps the build context small with a .dockerignore, pins base image versions, and sets up Compose for local development with volumes, health checks and start order.
How to use it
Ask it to containerise a service or shrink an image; you get the files, the reasoning on size and layers, and the build and run commands.
Requirements and limits
It runs on the faster flash model and will never bake secrets into a layer.
More in Agents and the Gemini CLI library.
The full text is in the members library
Book a call and we will give you access to the full Gemini CLI library: every entry in full, search by meaning, copy and download.
Source and license
Author: JosephHampton, Gemini CLI subagents. License: CC0-1.0.