Start interactive bash session in Docker Compose service
11 March 2022 (Updated 4 December 2025)
docker-compose exec <service-name> bash
You can see the names of your services with docker-compose ps.
Tagged:
Docker Compose recipes
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment