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

Minimal fix to make scope start with Docker for Mac again. #3140

Merged
merged 1 commit into from
Apr 13, 2018
Merged

Minimal fix to make scope start with Docker for Mac again. #3140

merged 1 commit into from
Apr 13, 2018

Conversation

dholbach
Copy link
Contributor

@dglaubman found that recent versions of Docker for Mac (Docker version 18.03.0-ce, build 0520e24) don't write out ${HOME}/Library/Containers/com.docker.docker/Data/database any more.

@foot confirmed this. A fresh installation of Docker for Mac (Version 18.03.0-ce-mac60 (23751), Channel: stable) did not create the file.

The result was that installations which had this leftover file could start scope, whereas newer couldn't. The fix simply changes this check to a path which actually exists.

Thanks @dglaubman and @foot for the analysis and confirmation.

Fixes #3064

@dglaubman found that recent versions of Docker for Mac (Docker version
18.03.0-ce, build 0520e24) don't write out
${HOME}/Library/Containers/com.docker.docker/Data/database any more.

@foot confirmed this. A fresh installation of Docker for Mac (Version
18.03.0-ce-mac60 (23751), Channel: stable) did not create the file.

The result was that installations which had this leftover file could start
scope, whereas newer couldn't. The fix simply changes this check to a path
which actually exists.

Thanks @dglaubman and @foot for the analysis and confirmation.

Fixes #3064
@dholbach dholbach requested a review from errordeveloper April 13, 2018 06:26
@errordeveloper errordeveloper merged commit b8dae77 into weaveworks:master Apr 13, 2018
@dholbach dholbach deleted the docker-for-mac-fix branch April 13, 2018 09:33
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

Successfully merging this pull request may close these issues.

Scope fails to launch on Docker for Mac
2 participants