2021-03-11 16:20:30 +01:00
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2022-03-09 13:24:09 +01:00
|
|
|
This is the equivalent of `docker exec` targeting a Compose service.
|
2021-03-11 16:20:30 +01:00
|
|
|
|
2022-03-09 13:24:09 +01:00
|
|
|
With this subcommand you can run arbitrary commands in your services. Commands are by default allocating a TTY, so
|
2021-03-11 16:20:30 +01:00
|
|
|
you can use a command such as `docker compose exec web sh` to get an interactive prompt.
|