Interactive shell using Docker Compose

Is there any way to start an interactive shell in a container using Docker Compose only? I’ve tried something like this, in my docker-compose.yml: myapp: image: alpine:latest entrypoint: /bin/sh When I start this container using docker-compose up it’s exited immediately. Are there any flags I can add to the entrypoint command, or as an additional … Read more