Docker beta for Mac hanging on ps

This still occurs, even with the latest beta-21.
I have some container that run gulp tasks - like gulp watch, those seem to be a trigger, but I can’t say 100% that is the only ting that causes it.
I know that I have to restart docker app quite regularly… and this is very frustrating and makes docker FAR from a stable development platform… let alone something I’d feel comfortable in production…
Of course, I’d not be running a production build on Docker Mac…

It really would be good to root cause (and fix) this one! Does anyone have any advice?

1 Like

Faced with the same issue today on my Mac. ‘Factory reset’ helped to solve this issue.

This has happened to me once or twice before, and I resolved it with a factory reset. But today, I didn’t want to have to re-download and re-build images. Instead, ran:

pgrep -i -f docker | xargs sudo kill

That killed the Docker Daemon too. So, I re-launched Docker to get the whale back in my menubar.

After 20 - 30 seconds, docker ps worked again. :slight_smile:

It’s happening to me fairly regularly. If I leave docker running a long time, it seems like docker command can’t communicate with the VM anymore.

I installed docker for Mac two days ago, so it’s likely the latest :slight_smile:

Sometimes docker stop $(docker ps -a -q) will kill my nodejs container but then dies killing the mongodb one.

pgrep -i -f docker | xargs sudo kill

Works for me, but that’s really a workaround for a pretty bad bug. Doing that kind of rude kill of mongodb, for example, might corrupt things.