mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 02:55:17 +00:00
Update cheatsheets
This commit is contained in:
29
krunvm
Normal file
29
krunvm
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}"`
|
||||
Reference in New Issue
Block a user