mirror of
https://github.com/docker/compose.git
synced 2026-02-09 10:09:26 +08:00
Trailing whitespace in Markdown can force line-breaks, which doesn't seem to
be the intent on these;
find . -type f -print0 | xargs -0 perl -pi -e 's/ +$//'
The trailing whitespace also can cause the YAML to go wonky (although the
cli-docs-tool now takes that into account), and caused the "examples" section
to be missed in the `docker compose pull` page (something we should fix in
the tool).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
8 lines
291 B
Markdown
8 lines
291 B
Markdown
|
|
## Description
|
|
|
|
This is the equivalent of `docker exec` targeting a Compose service.
|
|
|
|
With this subcommand you can run arbitrary commands in your services. Commands are by default allocating a TTY, so
|
|
you can use a command such as `docker compose exec web sh` to get an interactive prompt.
|