cli icon indicating copy to clipboard operation
cli copied to clipboard

Add support for `docker (compose) run/up` presets like `docker buildx bake`

Open leha-bot opened this issue 6 months ago • 0 comments

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

leha-bot avatar Aug 15 '25 11:08 leha-bot