-
Notifications
You must be signed in to change notification settings - Fork 444
tracee: add tini tracee docker image #883
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
Conversation
@simar7 Let me know what you think please. |
@josedonizetti we've already added an Did I miss something? |
@simar7 well, maybe I am missing something, but testing here in two different computers (ubuntu 18.04, and 20.04) with |
Only the "trace" subcommand is using Here's my test result for the "regular" tracee
|
anyway, I think it's fine to add tini to the container to get more predictable experience. @simar7 do you have another idea to fix the issue? |
@itaysk if you prefer I can investigate a little further if we can accomplish the same without Docker will first attempt a SIGTERM, but if the container doesn't respect it, it forces a SIGKILL. Eg:
|
Docker 1.13 and above should have the signal handling functionally if we pass in
Now with
Ref: https://docs.docker.com/engine/reference/commandline/run/ We could include Thoughts? |
@simar7 Yes, 1 - I wonder if this isn't too specific for docker only, it seems podman supports wdyt? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough - sounds like there are enough reasons to have it then to not. I'll let @itaysk give it another read but lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we should removed the exec from trace sub command
Fixes #736. If adding a dependency is not a problem, tini is a very common solution to handle signals properly on containers.
The image size doesn't change:
Testing: