# Bad response from docker engine

**URL:** <https://forums.docker.com/t/bad-response-from-docker-engine/117766>\
**Category:** Docker Desktop\
**Tags:** macos\
**Created:** [November 17, 2021, 5:12pm UTC](https://forums.docker.com/t/bad-response-from-docker-engine/117766 "2021-11-17T17:12:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ntnzelenin](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@ntnzelenin](https://forums.docker.com/u/ntnzelenin)\
**Post date:** [November 17, 2021, 5:12pm UTC](https://forums.docker.com/t/bad-response-from-docker-engine/117766/1 "2021-11-17T17:12:07Z")

</div>

I’m on macbook pro 2018, running the latest OS and docker desktop 4.x.

I have some containers running, then I try to stop them and run `docker-compose -f docker-compose-dev.yml down -v --remove-orphans` (actually this is a make command that runs it along with a couple of others, but I don’t think it matters). One of about three times when I run this command I get `Error response from daemon: Bad response from Docker engine` and docker gets dead and I need to restart it to fix. The restart takes about 2 minutes after this error. I need to restart containers multiple times a day, so I face this issue every day for several times. And it annoys me quite a lot as I get distracted from work and need to wait until it restarts, and sometimes there’re two or three bad responses in a row.

There’s an issue on github about it [Error response from daemon: Bad response from Docker engine · Issue #5283 · docker/for-mac · GitHub](https://github.com/docker/for-mac/issues/5283) but it’s been around for almost a year and nothing’s happening there.

So my questions are: is it completely a problem with docker or is it me doing something silly? Does anyone know a way to avoid this problem except for downgrading to 2.5? And that’s strange I can’t find questions on google about it because the problem seems pretty serious to me but not many people are bothered by it.

---

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [November 17, 2021, 10:31pm UTC](https://forums.docker.com/t/bad-response-from-docker-engine/117766/2 "2021-11-17T22:31:50Z")

</div>

I tried it multiple times without any issue. So it does not happen for everyone. At least not for me. I know it doesn’t help, but I don’t have too many ideas right know.

---

<div class="post-metadata">

**Author:** ![ntnzelenin](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@ntnzelenin](https://forums.docker.com/u/ntnzelenin)\
**Post date:** [November 18, 2021, 10:49am UTC](https://forums.docker.com/t/bad-response-from-docker-engine/117766/3 "2021-11-18T10:49:41Z")

</div>

Anyway, thanks for the reply.  
Asked my colleagues if they also face this issue and only one of them does even though all of us have the same hardware.
