~/talk

Virtualisation in Docker, using KVM as Hypervisor

Talkat OSDC 2019 · 2019-05-14..05-15· [linux-and-operating-systems]
links:none on file
slides:none on file

Builds a full VM inside an Ubuntu-based Docker container using KVM/qemu, libvirt, bridge-utils and vagrant-libvirt, passing /dev/kvm into the container or running with --privileged. Requires CAP_SYS_ADMIN and CAP_NET_ADMIN, remounting /sys as read-write and setting /dev/kvm group to kvm; nested virtualization works if CPU flags show vmx or svm. Demo boots a guest successfully; unprivileged mode needs explicit device mappings and remounted filesystems while privileged mode is faster.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:28Container vs VM virtualization
  3. 4:40Use case for VMs in containers
  4. 7:12Architecture overview
  5. 8:17Dockerfile setup
  6. 9:44Privileged vs unprivileged containers
  7. 13:00Demo walkthrough
  8. 15:41Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.