Debug a running container
If you ask
“Show me the last 200 lines of logs for the 'api' container and tell me if there are any errors”
Then
Inspect a running container's logs, environment, and state through conversation.
Works in Claude, Codex, Cursor & any MCP agent
How this prompt works
-
Turn on the Docker connector in Claude, ChatGPT or Cursor — once.
-
Paste the prompt above. No code, no menus.
-
Inspect a running container's logs, environment, and state through conversation.
FAQ
How do I debug a running container with Docker?
Add the Docker MCP connector once, then paste this prompt into Claude or ChatGPT: "Show me the last 200 lines of logs for the 'api' container and tell me if there are any errors". Your AI runs it in Docker.
Do I need to code?
No. You install the connector once (a short config or one click), then ask in plain words. The prompt on this page works as-is.
Which AI assistants work?
Claude (Desktop, Code), Cursor, ChatGPT and other MCP clients. The same prompt works across them.
Set up Docker in Claude
Copy-paste config, setup steps and more ready-to-run prompts on the connector page.
Open Docker setupMore prompts