Skip to content

Virtualization

Running virtual machines with KVM and libvirt: installing, starting and stopping VMs, working with disk images, cloning and snapshots.

Basics: KVM, QEMU and libvirt, checking the host, networks and bridges, where the files live, Proxmox

Virtual machines

  • virsh


    List, start, stop and inspect VMs.

  • virt-install


    Create a new VM and install it.

Disks and copies

  • qemu-img


    Create, inspect and convert disk images.

  • virt-clone


    Copy a VM with new identity.

From other chapters

  • docker run


    Containers instead of VMs, when the host kernel is enough. Covered in the chapter Docker.

  • ip


    Check bridges and interfaces on the host. Covered in the chapter Network.

  • df


    Watch the space for disk images. Covered in the chapter Storage.