Skip to content

c8d: use the container's configured snapshotter where possible#45274

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:container_as_source_of_truth
Apr 5, 2023
Merged

c8d: use the container's configured snapshotter where possible#45274
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:container_as_source_of_truth

Conversation

@thaJeztah
Copy link
Member

While we currently do not provide an option to specify the snapshotter to use for individual containers (we may want to add this option in future), currently it already is possible to configure the snapshotter in the daemon configuration, which could (likely) cause issues when changing and restarting the daemon.

This patch updates some code-paths that have the container available to use the snapshotter that's configured for the container (instead of the default snapshotter configured).

There are still code-paths to be looked into, and a tracking ticket as well as some TODO's were added for those.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

While we currently do not provide an option to specify the snapshotter to use
for individual containers (we may want to add this option in future), currently
it already is possible to configure the snapshotter in the daemon configuration,
which could (likely) cause issues when changing and restarting the daemon.

This patch updates some code-paths that have the container available to use
the snapshotter that's configured for the container (instead of the default
snapshotter configured).

There are still code-paths to be looked into, and a tracking ticket as well as
some TODO's were added for those.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added area/images Image Distribution containerd-integration Issues and PRs related to containerd integration labels Apr 5, 2023
@thaJeztah thaJeztah added this to the 24.0.0 milestone Apr 5, 2023
Copy link
Member

@laurazard laurazard left a comment

Choose a reason for hiding this comment

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

nice :)

@thaJeztah thaJeztah merged commit e8a7911 into moby:master Apr 5, 2023
@thaJeztah thaJeztah deleted the container_as_source_of_truth branch April 5, 2023 15:03
@thaJeztah
Copy link
Member Author

Oh! crap, didn't check if it conflicts with Pawel's PR (hope not)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/images Image Distribution containerd-integration Issues and PRs related to containerd integration

Projects

Development

Successfully merging this pull request may close these issues.

4 participants