Skip to content

ps command for rabbitmqctl wait #162

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

Closed
alterationx10 opened this issue Jun 6, 2017 · 3 comments
Closed

ps command for rabbitmqctl wait #162

alterationx10 opened this issue Jun 6, 2017 · 3 comments

Comments

@alterationx10
Copy link
Contributor

I believe the default ps that comes with alpine is a BusyBox command. rabbitmqctl wait seems to use ps, but doesn't properly wait with it. I get something like:

Waiting for rabbit@54e9f3ce2ca9
pid is 6
Error: process_not_running

Adding in RUN apk --no-cache add procps in my Dockerfile seems to fix the issue. Perhaps it would be good to add this into the main image atrabbitmq/3.6/alpine/Dockerfile?

@yosifkit
Copy link
Member

yosifkit commented Jun 6, 2017

That sounds reasonable to me. 👍

@alterationx10
Copy link
Contributor Author

I put in a pull request for it 😃

@alterationx10
Copy link
Contributor Author

Looks like pull request got merged :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants