Skip to content

daemon/server: move GetImageOpts, ImageInspectOpts to imagebackend#51102

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:move_more_imagebackendopts
Oct 6, 2025
Merged

daemon/server: move GetImageOpts, ImageInspectOpts to imagebackend#51102
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:move_more_imagebackendopts

Conversation

@thaJeztah
Copy link
Member

- Human readable description for the release notes

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.0.0 milestone Oct 5, 2025
@thaJeztah thaJeztah added status/2-code-review area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code labels Oct 5, 2025
Comment on lines 152 to 154
// CreateImageConfig is the configuration for creating an image from a
// container.
type CreateImageConfig struct {
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a couple more that need some untangling; this one is used to "create an image from a container" (i.e., docker commit), but there's also a CommitConfig below. Some of those are currently needed because container.Config is used in places where ... likely ocispec.Config or dockerspec.Config should be used (as those are the only fields persisted in the image .

@thaJeztah thaJeztah marked this pull request as ready for review October 5, 2025 14:04
@thaJeztah thaJeztah merged commit 4302ae9 into moby:master Oct 6, 2025
189 checks passed
@thaJeztah thaJeztah deleted the move_more_imagebackendopts branch October 6, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants