docker-compose composer exec code example Example: docker compose exec compose docker compose exec <your service name> <execute this command>