Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable pry binding via Docker #7899

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Enable pry binding via Docker #7899

merged 1 commit into from
Sep 29, 2023

Conversation

garethrees
Copy link
Member

If you're using docker-compose, you can add these flags to
docker-compose.yml:

app:
tty: true
stdin_open: true

And then attach to your process with docker attach project_app_1.
pry-rails works here now. Ensure less is installed on your container
for the optimal pry experience.

https://stackoverflow.com/a/37264588

> If you're using docker-compose, you can add these flags to
> docker-compose.yml:
>
>    app:
>      tty: true
>      stdin_open: true

> And then attach to your process with docker attach project_app_1.
> pry-rails works here now. Ensure less is installed on your container
> for the optimal pry experience.
>
> – https://stackoverflow.com/a/37264588
@garethrees garethrees merged commit fae52f0 into develop Sep 29, 2023
5 checks passed
@garethrees garethrees deleted the docker-pry-bindings branch September 29, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants