Skip to content

Conversation

@KevSlashNull
Copy link
Contributor

This adds a krunvm inspect command that runs buildah inspect under the hood, so users can find information about the VM, such as the image metadata (e.g. image name and digest) or mount point.

This allows, for example, creating a microVM and later only conditionally recreating it with a new image if an update is available.

Example

$ krunvm create nginx:1.27.2-alpine --name nginx-test
...
$ krunvm inspect nginx-test | jq -r .FromImage
docker.io/library/nginx:1.27.2-alpine

@slp
Copy link
Collaborator

slp commented Jan 8, 2025

Thanks for the contribution, LGTM. Could you please sign the commit to fix the DCO test?

This adds a `krunvm inspect` command that runs `buildah inspect` under
the hood, so users can find information about the VM, such as
the image metadata (e.g. image name and digest) or mount point.

Signed-off-by: Kev <kevslashnull@gmail.com>
@KevSlashNull
Copy link
Contributor Author

thanks and sorry @slp, signed off now!

@slp slp merged commit 2d9e1d6 into containers:main Jan 8, 2025
2 checks passed
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