Add support for `docker (compose) run/up` presets like `docker buildx bake`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Some containers and compose files could be launched in a bunch of ways. It would be very convenient if Docker (compose) could support similar "presets" for running/ups containers like docker buildx bake exists for build presets.
In general way, we could also create a docker-run file (name is preliminary) with run targets and declarative options similar to docker-bake.
Also these presets could be generalized like CMake (c++ build system) done for their build stages: https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html
Possibly another docker commands could be "presettable" via this generalized approach
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing docker buildx bake preset behavior and the docker compose run and up commands, then compare the referenced CMake presets model. Define the preset file format, supported commands, and declarative options before implementation; done means a documented, working preset approach for launching containers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, docker, docker-compose, go
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100