docker/compose ? reverse-engineered prompt

Reverse engineered prompt

Build me a Docker Compose style command line tool in Go.

I want people to describe an app in a compose.yaml file, with multiple services like a web server, a database, or Redis, then start the whole thing with one simple command like docker compose up. It should read the Compose file, build images from a Dockerfile when needed, use existing Docker images when listed, set up ports and volumes, and run the containers together in an isolated Docker environment.

Please make it feel like a real Docker CLI plugin, with clear commands, helpful error messages, and a quick start example that shows a web service and Redis. Include basic install and build instructions for Linux, Windows, and macOS, plus tests for the main behavior.

Keep it practical and reliable rather than fancy. Look up current Docker and Compose docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab