Join Our Collaborative Technology Community on Discord and IRC

If you want to discuss topics of the site with other technology-minded people, or you need some technical help, maybe you have a question, then you can join our growing Discord community:

https://discord.gg/YbSYGsQYES

If you have any difficulties with the invite link, leave us a comment below!

For others who like older text based protocols, we have an IRC channel as well:

irc.libera.chat / #tomsitcafe

Find us and let’s build a helpful and collaborative community together, like the 90s Linux IRC channels!

Creating and Managing KVM Storage Pools Effectively

Storage pools in KVM virtualization are a way to centrally manage and organize storage resources for virtual machines. A storage pool is a designated area of storage, such as a directory, partition, or network-based storage, that is set aside for use by KVM virtual machines. Once a storage pool is created and started, storage volumes can be defined within the pool and assigned to VMs.

Continue reading “Creating and Managing KVM Storage Pools Effectively”

Install and Remove KVM Guests With virt-install

virt-install is a command-line tool used to provision new virtual machines (VMs) using the libvirt hypervisor management library. It supports creating KVM, Xen, or Linux container guests and can configure various aspects such as virtual disks, network interfaces, audio devices, and physical USB or PCI devices. The installation media can be held locally or remotely on NFS, HTTP, or FTP servers.

Continue reading “Install and Remove KVM Guests With virt-install”

Migrate Virtual Machines to KVM Using qemu-img

Migrating just a couple of virtual machines from other virtualization platforms to KVM is easy. Virtualbox uses the Virtual Disk Image (.vdi) format. You can clone the vdi image to a RAW image format using vboxmanage. This way you will not alter your original virtual image file. Then QEMU provides the necessary tools to convert the RAW image to the qcow2 format. Qcow2 is QEMU’s Copy On Write image format.

Continue reading “Migrate Virtual Machines to KVM Using qemu-img”

I Migrated to KVM+QEMU on Debian 12

KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko.

QEMU’s system emulation provides a virtual model of a machine (CPU, memory and emulated devices) to run a guest OS. It supports a number of hypervisors (known as accelerators) as well as a JIT known as the Tiny Code Generator (TCG) capable of emulating many CPUs.

libvirt is a toolkit to manage virtualization platforms.

Continue reading “I Migrated to KVM+QEMU on Debian 12”

Podman Basics 09: Kubernetes Compatibility

Podman’s integration with Kubernetes through the podman kube play command allows users to create pods, containers, and volumes from Kubernetes YAML files. This command reads the structured file and recreates the described resources, starting the containers within a pod and outputting the ID of the new pod or the name of the new volume.

Continue reading “Podman Basics 09: Kubernetes Compatibility”

Podman Basics 08: Building Your Own Images

Sometimes you must create your own Podman images. Building your own Podman images allows for greater customization, control, consistency, and organizational efficiency compared to using only public images. The investment upfront can pay dividends in the long run through improved security, consistency, and maintainability of your container infrastructure.

Continue reading “Podman Basics 08: Building Your Own Images”

Podman Basics 07: Using Multi-Container Applications

Podman-compose is a script that simplifies the use of Podman to manage multi-container setups. It interprets the docker-compose.yml file and creates a Podman-compatible setup. This means you can use your existing Docker Compose files with Podman, making the transition smoother if you’re moving from Docker to Podman.

Continue reading “Podman Basics 07: Using Multi-Container Applications”

Podman Basics 04: Running Your First Container

After installing Podman you have to know and understand some of the terminology. Understanding the basic jargon of containerization will help you start with this lesson, and it will be beneficial later on too. You will learn about the image registries, images and containers in this lesson. You will take a look at how to pull, run and manage them.

Continue reading “Podman Basics 04: Running Your First Container”

Podman Basics 03: Installing Podman

Containerization has changed the way we deploy and manage applications. Podman is a powerful container management tool that provides a seamless experience for running containers in production, development, and testing environments. We will walk through the steps to install Podman on three popular Linux distributions: Debian, Ubuntu, and Rocky Linux. This lesson will equip you with the knowledge to enjoy the power of Podman on your preferred platform.

Continue reading “Podman Basics 03: Installing Podman”

Podman Basics 02: Introduction to Podman

Podman, also known as the POD manager, is an open-source tool for developing, managing, and running containers on Linux systems. It was originally developed by Red Hat engineers along with the open-source community. Podman is designed to make it easy to find, run, build, share, and deploy applications using Open Containers Initiative (OCI) Containers and Container Images.

Continue reading “Podman Basics 02: Introduction to Podman”