dexec
is a small command‑line utility (written in C) that wraps Docker commands to make working with Docker Compose and docker exec
easier. By default it runs docker compose
, but when called with the -e
(or --exec
) flag, it runs docker exec
.
- Checks that the
docker
binary exists before doing anything. - Default behavior: use
docker compose
with any arguments you pass.