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

Add ability to log docker containers/activities #142

Open
yarikoptic opened this issue Aug 15, 2024 · 0 comments
Open

Add ability to log docker containers/activities #142

yarikoptic opened this issue Aug 15, 2024 · 0 comments

Comments

@yarikoptic
Copy link
Member

probably should be thought of in the context of

Two aspects:

  • which processes: as we know we cannot track docker "things" via session id, so might be needed to just be "aggressive" and log all new appeared images, started (and stopped?) containers?
    • how do we log/see CPU / memory consumption of containers?
    • should we consider every container to be a single "pid" or do inspect every "pid" of every container? (the latter might be more consistent, but we then need to add tracking not only by session_id, but also by "env_id" of some kind)
  • what to log: besides those activities on images/containers, desired to store docker log outputs for them!
    • tricky: they might disappear, be removed (docker run --rm), so we might need to be "proactive" and as soon as we detect a new container, start docker log --follow into a file (it would die when container stops)

Use cases:

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

No branches or pull requests

1 participant