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

[SMAGENT-2076] docker engine changes to retrieve rw size #1560

Merged
merged 5 commits into from
Dec 18, 2019

Conversation

bryanseay
Copy link
Contributor

For docker, perform the request with the extra "size=true" parameter. This is relevant when running overlay2 and gives the size of the container layer.

The size request isn't done during the initial request because determining the size can easily take seconds.

…tainer info that includes the size of the container layer. This is relevant when running overlay2. The size request isn't done during the initial request because determining the size can easily take seconds.
@bryanseay bryanseay requested a review from gnosek December 11, 2019 19:27
userspace/libsinsp/container.cpp Outdated Show resolved Hide resolved
userspace/libsinsp/container_engine/bpm.h Outdated Show resolved Hide resolved
userspace/libsinsp/container_engine/docker_common.cpp Outdated Show resolved Hide resolved
@bryanseay bryanseay changed the title [SMAGENT-2142] docker engine changes to retrieve rw size [SMAGENT-2076] docker engine changes to retrieve rw size Dec 11, 2019
@bryanseay bryanseay requested a review from gnosek December 18, 2019 15:17
@bryanseay bryanseay merged commit b50be2e into dev Dec 18, 2019
@bryanseay bryanseay deleted the SMAGENT-2142-docker-engine-changes-to-retrieve-rw-size branch December 18, 2019 16:32
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.

2 participants