Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only mount plugins directory if it exists #3825

Merged
merged 3 commits into from
Jan 2, 2021
Merged

Conversation

bboreham
Copy link
Collaborator

@bboreham bboreham commented Dec 29, 2020

This gets over a problem with Docker for Mac where /var/run is read-only.
Now, anyone wishing to use Scope plugins will have to ensure that directory (where the sockets used to communicate between Scope and plugins live) exists.

I'm not clear whether it is ever possible under Docker for Mac to create the /var/run/scope/plugins directory the code is looking for, or whether it will be necessary to parameterise the code.

Also fix the Mac probe launch command - paren in wrong place meant it was running the app and not getting any extra args

This gets over problem with Docker for Mac where /var/run is read-only
The scope script is no longer creating it.
Paren in wrong place meant it was running the app and not getting any extra args
@bboreham bboreham merged commit 2c040c7 into master Jan 2, 2021
@bboreham bboreham deleted the readonly-var-run branch January 2, 2021 18:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant