User Tools

Site Tools


general:linux:systemd_nspawn_containers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
general:linux:systemd_nspawn_containers [2024/10/16 07:03] sunkangeneral:linux:systemd_nspawn_containers [2025/11/22 15:03] (current) – [Add security updates source] sunkan
Line 17: Line 17:
 ====== Create container with debootstrap ====== ====== Create container with debootstrap ======
 <code> <code>
-debootstrap --include=systemd,dbus bookworm /var/lib/machines/container_name+debootstrap --include=systemd,dbus,systemd-container,systemd-resolved trixie /var/lib/machines/container_name
 </code> </code>
  
Line 36: Line 36:
  
 ====== Add security updates source ====== ====== Add security updates source ======
-Example for bookworm, also add contrib etc. if you need them.+Example for trixie, also add contrib etc. if you need them.
 <code> <code>
-deb http://security.debian.org/ bookworm-security main+deb http://security.debian.org/ trixie-security main
 </code> </code>
  
general/linux/systemd_nspawn_containers.1729062236.txt.gz · Last modified: 2024/10/16 07:03 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki