Gordon: Docker's AI Agent Just Got an Update
Meet Gordon, Docker's AI agent built into Docker Desktop. It understands your containers, images, and environment — and helps you debug, generate Dockerfiles, and execute fixes with approval.
AI agents are moving from demos to daily workflows. They write code, run commands, and complete multi-step tasks without constant hand-holding. But general-purpose agents don't know Docker. They don't understand your containers, your images, or your specific setup. Gordon does. Just run docker ai in your terminal or try it in Docker Desktop. Available today in Docker Desktop 4.61, still in beta, Gordon is an AI agent purpose-built for Docker. It has shell access, Docker CLI access, your filesystem, and deep knowledge of Docker best practices. Point it at a problem, approve its actions, and watch it work. Why Docker Needs Its Own Agent When your container exits with code 137, Claude or ChatGPT will explain what OOM means. Gordon checks your container's memory limit, inspects the logs, identifies the memory-hungry process, and proposes a fix. One approval, and it's done. When you need to containerize a Next.js app, Copilot might suggest a Dockerfile. Gordon examines your project structure, detects your dependencies, generates a production-ready Dockerfile with multi-stage builds, creates docker-compose.yml with the right services, and sets up your environment configs. The difference is context and execution. Gordon knows what's running on your machine. It can read your Docker state, access your filesystem, and take action. It's not guessing — it's working with your actual environment. What Gordon Does Debug and fix – Container won't start. Service is unhealthy. Something is consuming all the memory. Gordon inspects logs, checks container status, identifies root cause, and proposes fixes. You approve, it executes. Build and containerize – Take this application and make it run in Docker. Gordon examines your project, generates production-ready Dockerfiles with multi-stage builds, creates docker-compose.yml with the right services, handles environment configs and dependencies. Execute and manage – Clean up disk space. Stop all containers.
Add a comment: