Running docker-compose container with TTY
If you want to run a service from a docker-compose
file, exposing it's ports but also attaching to a TTY, for example running rails server
while using pry
to debug, use the following:
docker-compose run --service-ports app