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

Docker for mac crashes again after latest macOS update #3873

Closed
2 tasks done
marcelloromani opened this issue Aug 28, 2019 · 16 comments
Closed
2 tasks done

Docker for mac crashes again after latest macOS update #3873

marcelloromani opened this issue Aug 28, 2019 · 16 comments

Comments

@marcelloromani
Copy link

  • I have tried with the latest version of my channel (Stable or Edge)

Restarted the mac after OS update: as I don't have Docker launch at startup, I manually launched it.
The Docker Update popup came up: wether I choose "Apply update" or "Remind me later" doesn't make any difference: docker starts and shortly after crashes.

  • I have uploaded Diagnostics
  • Diagnostics ID: FDEB2B36-9E22-4A62-BD46-4B8E43938271/20190828164816

Expected behavior

Docker for mac starts and works normally.

Actual behavior

Docker for mac starts, I am able to perform some commands (like docker pull, docker-compose run --rm <something> etc. but after a few minutes the server crashes.
Didn't do any exact measurements but I reckon it stays up between 1 and 2 minutes before crashing.

Information

  • macOS Version: 10.14.6 (18G95)
  • docker version:
$ docker version
Client: Docker Engine - Community
 Version:           19.03.1
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        74b1e89
 Built:             Thu Jul 25 21:18:17 2019
 OS/Arch:           darwin/amd64
 Experimental:      false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
@marcelloromani marcelloromani changed the title Docker for mac crashes again after latest OS update 10.14.6 (18G95) Docker for mac crashes again after latest OS update Aug 28, 2019
@marcelloromani marcelloromani changed the title Docker for mac crashes again after latest OS update Docker for mac crashes again after latest macOS update Aug 28, 2019
@marcelloromani
Copy link
Author

marcelloromani commented Aug 28, 2019

Maintainers: please remove the label version/10.14.6 as it's misleading.

@marcelloromani
Copy link
Author

The crash happened also during an "image pull"

fc7181108d40: Already exists
01f3b6f74410: Already exists
163142c4383b: Already exists
eeed0da1db91: Already exists
ea6d6fd23371: Already exists
52f0c7b20cb8: Pull complete
6a579f60956c: Pull complete
1dcf7c70dd73: Pull complete
ed06228ccb06: Extracting [=========================>                         ]  20.87MB/40.33MB
ERROR: dial unix docker.raw.sock: connect: connection refused

@marcelloromani
Copy link
Author

Deleted docker for mac, downloaded fresh copy from dockerhub, installed it.

Same buggy behaviour observed.

@marcelloromani
Copy link
Author

Now Docker for Mac crashes after a couple minutes even without being used.
This is a blocker for me.

Have to revert to docker-machine, which is quite annoying.

@klimslim
Copy link

Same issues for me. Same Mac OS version. But I cannot even run Troubleshooting. It crashes in a minute after start.

@nigel-daniels
Copy link

HI Have this issue too :( Is there a way to locate older dmg files to rollback the version?

@lsampaioweb
Copy link

HI Have this issue too :( Is there a way to locate older dmg files to rollback the version?

I recently reported the same issue and the only solution was to remove the docker and install an earlier version.

Link to previous versions: https://docs.docker.com/docker-for-mac/release-notes/

My issue: #3866

@taiyodayo
Copy link

Hi. I'm also seeing sporadic crashes on Mac docker 19.03 series.
docker build command works fine for a few minutes, then randomly freezes.

Simplest reproducible code is:

for i in $(seq 100); do echo $i; echo FROM alpine | docker build -; done

This code runs fine on other *nixes, but only on a Mac it results in sporadic crashes.
today it froze at around every 15th execution. (ctrl-C kills the process and continues, then freeze again). Number of times it takes before crasheing seems random to me.

I have some batch scripts that regularly rebuilds containers, for now reverting to v.18 series.
I wonder if anyone else is experiencing the same symptoms.

@gabrieleCacciola
Copy link

gabrieleCacciola commented Oct 18, 2019

Having the same issue, Docker for Mac v2.1.0.3 crashing after a minute. Is anybody working on that, or shall I migrate to a docker-machine?

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@jsynowiec
Copy link

/remove-lifecycle stale

@kns7
Copy link

kns7 commented Apr 14, 2020

Hello,
Any news regarding this crash? It occurs on 10.5.4 also.

@wansiedler
Copy link

wansiedler commented May 1, 2020

Havin the same issue.
Docker 2.2.0.5 (and <) has been crashing dead my mac randomly for the last year.
I had to get a sever to build images there, cause I cant do this stable enough. Pleas help!

@wansiedler
Copy link

Hi. I'm also seeing sporadic crashes on Mac docker 19.03 series.
docker build command works fine for a few minutes, then randomly freezes.

Simplest reproducible code is:

for i in $(seq 100); do echo $i; echo FROM alpine | docker build -; done

This code runs fine on other *nixes, but only on a Mac it results in sporadic crashes.
today it froze at around every 15th execution. (ctrl-C kills the process and continues, then freeze again). Number of times it takes before crasheing seems random to me.

I have some batch scripts that regularly rebuilds containers, for now reverting to v.18 series.
I wonder if anyone else is experiencing the same symptoms.

+1 here!

@docker-robott
Copy link
Collaborator

Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants