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 stuck on "is starting" #2420

Closed
hpartidas opened this issue Jan 12, 2018 · 36 comments

Comments

@hpartidas
Copy link

commented Jan 12, 2018

Expected behavior

Docker starts

Actual behavior

Stuck at "Docker is starting"

Information

 Docker for Mac: version: 17.12.0-ce-mac47 (72b93a017350990850ddc37cd341bd16fce3e911)
macOS: version 10.13.2 (build: 17C88)
logs: /tmp/FC062A3A-FD90-4B2A-9045-0DC20D9B956C/20180112-151659.tar.gz
failure: docker ps failed: (Failure "docker ps: timeout after 10.00s")
[OK]     db.git
[OK]     vmnetd
[OK]     dns
[OK]     driver.amd64-linux
[OK]     virtualization VT-X
[OK]     app
[OK]     moby
[OK]     system
[OK]     moby-syslog
[OK]     kubernetes
[OK]     env
[OK]     virtualization kern.hv_support
[OK]     slirp
[OK]     osxfs
[OK]     moby-console
[OK]     logs
[ERROR]  docker-cli
         docker ps failed
[OK]     menubar
[OK]     disk

Diagnostic ID: FC062A3A-FD90-4B2A-9045-0DC20D9B956C

Steps to reproduce the behavior

  • Start Docker
@karlgroves

This comment has been minimized.

Copy link

commented Jan 13, 2018

+1 to this issue.

@sstepanovvl

This comment has been minimized.

Copy link

commented Jan 13, 2018

+1
mac os high sierra 10.13.2

@souljacker

This comment has been minimized.

Copy link

commented Jan 13, 2018

+1 here

@ghost

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

6 similar comments
@ghost

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@udisun

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@hanafiah

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@shadedesignz

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@FrankKair

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@salmaanrizvi

This comment has been minimized.

Copy link

commented Jan 15, 2018

+1

@gtardif

This comment has been minimized.

Copy link
Contributor

commented Jan 16, 2018

I can't reproduce the issue ATM. But the logs in the diagnostics indicate that the Docker4mac app has been quarantined for some reason.
Can you try xattr -d -r -s com.apple.quarantine /Applications/Docker.app and restart Docker For Mac to see if this solves the issue on your side ?

@souljacker

This comment has been minimized.

Copy link

commented Jan 16, 2018

@gtardif for me it didn't do nothing :(

@Fochest

This comment has been minimized.

Copy link

commented Jan 16, 2018

Same here since updating to Mac OS 10.13.2, edge as well as stable

@hanafiah

This comment has been minimized.

Copy link

commented Jan 17, 2018

I just revert back to previous version for the interim solution.

  1. uninstall current version
    /Applications/Docker.app/Contents/MacOS/Docker --uninstall
  2. download and install previous version https://download.docker.com/mac/stable/21090/Docker.dmg

this not solve current issue but at least I can continue my work. will help debugging current issue once I got some time.

@shadedesignz

This comment has been minimized.

Copy link

commented Jan 17, 2018

Uninstall Docker then reinstall seemed to work as a temporary workaround for me

@iKettles

This comment has been minimized.

Copy link

commented Jan 17, 2018

I can confirm I was able to get the latest stable version working by installing the previous version @hanafiah linked to and then updating from within Docker.

@akimd

This comment has been minimized.

Copy link
Contributor

commented Jan 18, 2018

Could you please check if the following image fixes your problems? You might need to reset to factory defaults...

https://download-stage.docker.com/mac/pr/21949/Docker.dmg

This is a test build. Ignore any update it might propose, and after testing, reinstall an Edge or Stable version to get proper updates again. Thanks!

@akimd akimd self-assigned this Jan 18, 2018

@hanafiah

This comment has been minimized.

Copy link

commented Jan 18, 2018

@akimd . I just tested and its working on my end.

@akimd

This comment has been minimized.

Copy link
Contributor

commented Jan 18, 2018

Excellent, thanks!

@akimd

This comment has been minimized.

Copy link
Contributor

commented Jan 19, 2018

Thanks!

Yaojakey referenced this issue in docker/docker.github.io Jan 19, 2018

Release notes for 17.12.0-ce-mac49 (Stable) (#5787)
* Docker for mac stable relnotes 17.12.0-ce-mac49

Signed-off-by: Jenkins-pr-release-docs <guillaume.tardif@docker.com>

@akimd akimd closed this Jan 26, 2018

@fomars

This comment has been minimized.

Copy link

commented Sep 25, 2018

Same issue occurring in version 18.06.1-ce

@andre487

This comment has been minimized.

Copy link

commented Oct 21, 2018

The same issue.

macOS 10.12.6 (16G1510)
Docker 18.06.1-ce

@christoph-metzger

This comment has been minimized.

Copy link

commented Oct 25, 2018

Same issue.

macOS: 10.13.6
Docker: 18.06.1-ce-mac73 (26764)

@zgc

This comment has been minimized.

Copy link

commented Oct 27, 2018

+1
macOS:10.14
Docker:18.09.0-ce-beta1

@christoph-metzger

This comment has been minimized.

Copy link

commented Oct 27, 2018

Found a workaround on macOS here: https://pitman.io/posts/fix-docker-wont-start-error-on-mac-os/

Remove or rename following file:
mv ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2.bkp

@sagidM

This comment has been minimized.

Copy link

commented Nov 19, 2018

The previous workaround did not help me, but this one did:

Restart docker then type in terminal:
screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
after a couple of seconds you should see some incomprehensible words, just press Enter a few times

Everything is latest by now:
macOS 10.14.1
Docker Engine: 18.06.1-ce

UPD:
Problem still continue to live, but now you can see some interface in console after you run the command
macOS 10.14.2
Docker Engine: 18.09.1

@tourea

This comment has been minimized.

Copy link

commented Feb 1, 2019

Not entirely sure how I got into that state, but reseting to factory default (Docker Desktop) solved the issue for me

@bicepjai

This comment has been minimized.

Copy link

commented Apr 18, 2019

I still the same issue with

Docker 2.0.0.3
Engine: 18.09.2
Mac 10.14.4

@AlShelley

This comment has been minimized.

Copy link

commented Jun 14, 2019

+1

3 similar comments
@gsampaio-rh

This comment has been minimized.

Copy link

commented Jul 1, 2019

+1

@teehamaral

This comment has been minimized.

Copy link

commented Jul 9, 2019

+1

@Maksclub

This comment has been minimized.

Copy link

commented Jul 21, 2019

+1

@gsampaio-rh

This comment has been minimized.

Copy link

commented Jul 21, 2019

I rolled back to 17.09.0-ce-mac33 (19597) and it's working.

@ricardo-aguiar

This comment has been minimized.

Copy link

commented Jul 21, 2019

+1

Version 2.0.0.3 (31259)
Engine: 18.09.2
macOS 10.14.5

this worked as a workaround for me #2420 (comment)

@rafael-lima-tw rafael-lima-tw referenced this issue Jul 22, 2019

Open

Docker MacOS 2.0.3.0 not starting #3584

2 of 2 tasks complete
@iamcgn

This comment has been minimized.

Copy link

commented Aug 9, 2019

+1

I had BlueStacks installed and clicked the "Start Anyway" button. After Docker wouldn't work I decided to uninstall BlueStacks. After that, when starting Docker, it brought up a permissions prompt to install something network related. Might be a red herring but it seems the BlueStacks dialog somehow prevented the permissions prompt and stalled the setup. I'm back up and running now.

Version 2.1.0.1 (37199)
Engine: 19.03.1
macOS: 10.14.5

@rafunchik

This comment has been minimized.

Copy link

commented Aug 17, 2019

same as above, had BlueStacks installed and Docker used to run fine (with a warning message), updated Docker and now would get stuck whilst starting.
Removing BlueStacks and restarting Docker seems to have fixed it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.