mirror of
https://github.com/docker/compose.git
synced 2025-05-06 15:40:11 +02:00
293 B
293 B
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.