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 - The paths /boot and /lib/modules are not shared from OS X and do not belong to the system. #637

Closed
krasi-georgiev opened this issue Jul 21, 2016 · 10 comments
Labels

Comments

@krasi-georgiev
Copy link

Is this the correct command when running in docker for mac ?

docker run -i -t --name sysdig --privileged -v /var/run/docker.sock:/host/var/run/docker.sock -v /dev:/host/dev -v /proc:/host/proc:ro -v /boot:/host/boot:ro -v /lib/modules:/host/lib/modules:ro -v /usr:/host/usr:ro sysdig/sysdig

I get the error in the title

@nmcalabroso
Copy link

+1 to this

@aleks-f
Copy link
Contributor

aleks-f commented Nov 1, 2016

@krasimir-georgiev, see How to Install Sysdig for Windows and OSX

@krasi-georgiev
Copy link
Author

so no need to run it inside a container ?

@luca3m
Copy link
Contributor

luca3m commented Nov 1, 2016

You can run sysdig on mac but without capture support, you can only read file captured on linux hosts.

Otherwise to run sysdig on embedded linux machine inside docker4mac, you can try this repo: https://github.com/fdebonneval/mobydig. This is not official supported right now

@saada
Copy link

saada commented Dec 25, 2016

What do we need to do to have official support for Docker4Mac?

@etown
Copy link
Contributor

etown commented Dec 25, 2016 via email

@etown
Copy link
Contributor

etown commented Dec 25, 2016 via email

@krasi-georgiev
Copy link
Author

krasi-georgiev commented Jan 17, 2017

the problem is not the kernel but the fact that docker for mac doesn't allow mounting folder from the moby vm

etown/install-sysdig-module#4

@krasi-georgiev
Copy link
Author

I will comment in the other ossue so closing this one.

@saada
Copy link

saada commented Jan 20, 2017

@krasi-georgiev the other issue was closed. Has this issue been resolved then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants