Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fdebonneval/mobydig
Image to run Sysdig on Docker for mac
https://github.com/fdebonneval/mobydig
docker docker-for-mac sysdig
Last synced: 10 days ago
JSON representation
Image to run Sysdig on Docker for mac
- Host: GitHub
- URL: https://github.com/fdebonneval/mobydig
- Owner: fdebonneval
- License: apache-2.0
- Created: 2016-09-14T19:26:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T16:48:45.000Z (over 6 years ago)
- Last Synced: 2024-06-01T11:33:43.387Z (5 months ago)
- Topics: docker, docker-for-mac, sysdig
- Language: Shell
- Size: 14.6 KB
- Stars: 38
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-kubernetes - mobydig - Image to run Sysdig on Docker for mac (but not only, it should work on a docker engine on a linux host) #Why ? Why a particular image for Docker for mac ? Sysdig provides a Docker image to run sysdig/csysdig on Docker but on a Linux host. (Tools)
README
# mobydig
Image to run Sysdig on Docker for mac (but not only, it should work on a docker engine on a linux host)
#Why ?
Why a particular image for Docker for mac ?
Sysdig provides a Docker image to run sysdig/csysdig on Docker but on a Linux host. As the sources os Docker for mac are not yet avaliable, there is no easy way to use the DKMS build capability of the upstream image. Finally, I could not just publish an image to the Docker Hub as kernel are upgraded often on Docker for mac.Why that name ?
Because some difficulties to reach my target comes from the fact that Docker for mac named the kernel linux-4.4.x-moby. And that particular name had me to search for a few trick on compiling kernel libs, so it's gonna be like a souvenir every time I get back to this project.# Get it, build it
# git clone https://github.com/fdebonneval/mobydig.git
# cd mobydig
# make buildBuild time is around 15 minutes with a decent internet access and my i5 MBP.
After the build, the image is published in your local registry with the name `mobydig:(sysdig verion)`
You can choose the tag/branch you want to build against by changing the VERSION variable in the Makefile# And run it
To run csysdig, the great htop like ncurses tool, just use# make csysdig
To run sysdig, use
# make sysdig
# Todo
* Reduce image size. I gave a try to Alpine, but it seem there is an issue around Libc
* Fix mouse inputs in spectro view
* Write some examples# References
* Thanks to @etown for his work on module build that inspired me a lot
* https://github.com/etown/install-sysdig-module
* Thanks to Sysdig team (@draios), thanks to the official image I found a few env that made the stuff work
* http://www.sysdig.org/wiki/how-to-install-sysdig-from-the-source-code/
* http://www.sysdig.org/wiki/how-to-install-sysdig-for-linux/
* https://github.com/draios/sysdig/tree/dev/docker
* Thanks to a very shy collegue of mine for his help on the rest