Skip to content

Provide new commands mount/umount #13129

@rhvgoyal

Description

@rhvgoyal

Some people expressed desire to have capability to be able to quickly inspect an image. Right now one can save image content to tar file and untar it later and look into image. But taring the content creates additional copy which is slow.

Another method seems to be to create a container and then run a command inside that container. But that requires command to be present inside an image at the same time running container of image being inspected is not very clean. People argue that one does not want to run the container which is
being inspected.

So it was suggested how about implementing a new set of commands say mount/umount which just mount image read only at a given directory. That will allow host to quickly inspect image without creating copy and then unmount the image.

I am about to post a very basic patch to be able to do that. That can serve as place for discussion on this topic and how to go about solving this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/imagesImage Distributionkind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions