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

Sysdig Inspect container image #47

Merged
merged 24 commits into from
Mar 19, 2019
Merged

Sysdig Inspect container image #47

merged 24 commits into from
Mar 19, 2019

Conversation

davideschiera
Copy link
Contributor

@davideschiera davideschiera commented Mar 12, 2019

Make Sysdig Inspect available as Docker container. The development image is currently available on the Docker hub.

How to

Use capture files on your machine

Let's assume you have Sysdig capture files in the folder /local/path/to/captures/. You can start the Sysdig Inspect container with the following command line:

docker run -d --name sysdig-inspect -v /local/path/to/captures/:/captures -p8080:3000 sysdiglabs/sysdig-inspect:0.4.0-dev

You can now open Sysdig Inspect in your browser at http://localhost:8080:

Screen Shot 2019-03-12 at 2 05 17 PM

Captures will be available You can open captures located under captures folder, eg. /captures/my-capture.scap:

Screen Shot 2019-03-12 at 2 04 59 PM

Create capture files

In order to use the Sysdig Inspect container to create Sysdig captures, you need to run the container similarly to the Sysdig container (ref. Sysdig docs):

docker run -d --name sysdig-inspect -p8080:3000 --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 sysdiglabs/sysdig-inspect:0.4.0-dev

Now you can create captures:

docker exec -it sysdig-inspect sysdig -w /my-capture.scap

And finally, you can open Sysdig Inspect at http://localhost:8080 and open the capture /my-capture.scap.

Other changes

The PR also fixes some issues related to the Sysdig binary path and web/API server configuration.

@davideschiera davideschiera self-assigned this Mar 12, 2019
@Issif
Copy link

Issif commented Mar 13, 2019

\o/ it works for me.

FYI : the link to dockerhub is wrong, here the correct one : https://hub.docker.com/r/sysdiglabs/sysdig-inspect.

Thanks.

Copy link

@mateobur mateobur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@davideschiera davideschiera merged commit 66ce84e into dev Mar 19, 2019
@davideschiera davideschiera deleted the dockerization branch May 2, 2019 23:30
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.

3 participants