Re: systemd-nspawn : centOS container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday 30 Jan 2015 7:12:18 PM arnaud gaboury wrote:
> I have happily used a second Arch as a container booted with systemd-nspawn.
> 
> I would like now install a CentOS container, but I am not sure how to
> proceed the install. What is the correct way ?
> - first install minimal CentOS from an iso in a dedicated partition
> (in my case it will be a ssd), then mount the ssd filesystem in
> /var/lib/container/MyCentOS ?
> - mount the iso file with systemd-nspawn --image=/path/to/CentOS.iso,
> boot my container and then install CentOS .

I haven't tried it myself but you could use a pre-built image like this

http://images.linuxcontainers.org/images/centos/7/amd64/default/20150131_02:16/

Bonus point, it can run an lxc container as well.

HTH

-- 
Regards
 Shridhar


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux