I was trying to start an interactive shell in a container using docker compose only.
I tried something like this
myapp:
image: alpine:latest
entrypoint: /bin/sh
When I start this container using docker using docker compose, it exits immediately.
Can someone help me out?