Город МОСКОВСКИЙ
00:02:38

Creating linux container in Fedora 20 with systemd-nspawn

Аватар
PythonГиперборея
Просмотры:
31
Дата загрузки:
04.12.2023 01:12
Длительность:
00:02:38
Категория:
Технологии и интернет

Описание

Here is short video how to create linux container in Fedora 20

Host kernel needs to be booted with audit=0 kernel option this to work in current fedora version.

Firts install containers root to /root/fedora-tree with yum:
yum -y --releasever=20 --installroot=$HOME/fedora-tree --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal

Then set password to container:
systemd-nspawn -D ~/fedora-tree/
passwd

Then container is ready to boot:
systemd-nspawn -bD ~/fedora-tree/ 3

http://0pointer.de/public/systemd-man/systemd-nspawn.html

Рекомендуемые видео