Danilo Costa
Posted on August 25, 2023
Hello fellas, today we're gonna solve an old noob problem, how to use Pry inside of a docker container?
It's simple, first you just need to add these two flags inside of your dockercompose file
app:
stdin_open: true
tty: true
Now, run your docker project with:
docker-compose up -d && docker attach $(docker-compose ps -q app)
And it's done
💖 💪 🙅 🚩
Danilo Costa
Posted on August 25, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.