1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:02:09 +02:00
tldr/pages/common/krunvm.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

557 B

krunvm

Create MicroVMs from OCI images. More information: https://github.com/containers/krunvm.

  • Create MicroVM based on Fedora:

krunvm create {{docker.io/fedora}} --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name "{{name}}"

  • Start a specific image:

krunvm start "{{image_name}}"

  • List images:

krunvm list

  • Change a specific image:

krunvm changevm --cpus {{number_of_vcpus}} --mem {{memory_in_megabytes}} --name "{{new_vm_name}}" "{{current_vm_name}}"

  • Delete a specific image:

krunvm delete "{{image_name}}"