Date: Wed, 31 Mar 2021 03:29:30 +0000 From: Daniel Stevenson <daniel@dstev.net> To: Jacques Foucry <jacques+freebsd@foucry.net> Cc: Dan Langille <dan@langille.org>, freebsd-questions@freebsd.org Subject: Re: Move jails hard way to iocage Message-ID: <ol7sfQqhYAS1Sc9O7XIgkM59ZG-zgVEpVaZd4ekU_Jb98GoIZmlbU5IO_2hmH7JgM0EoIT1-xYQPF5HKdlAH8boIJyZPPo-GYc2yzEBnYzU=@dstev.net> In-Reply-To: <YF5H%2B7bRJBSIurMb@mithril.foucry.net> References: <YF2pJBKE4VaLYVM2@mithril.foucry.net> <df8f98a1-1a99-4623-a7c1-02755d3327df@www.fastmail.com> <5ce88d31-5372-4d26-8d35-d13b73ec7b71@www.fastmail.com> <YF5H%2B7bRJBSIurMb@mithril.foucry.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, March 26th, 2021 at 15:45, Jacques Foucry <jacques+freebsd@foucr= y.net> wrote: > Le vendredi 26 mars 2021 =C3=A0 09:00:24 (-0400), Dan Langille =C3=A0 = =C3=A9crit: > > > On Fri, Mar 26, 2021, at 5:34 AM, Dan Langille wrote: > > > > > On Fri, Mar 26, 2021, at 5:28 AM, Jacques Foucry wrote: > > > > > > > Hello Friends, > > > > > > > > I run many jails, configured in the "hard way" (ie `/etc/jail.conf`= file) and > > > > > > > > I would like to move them into iocage. > > > > > > > > I can't find any help on the Internet (may be I did search corretly= ). > > > > > > > > Did some own have a pointer or a how-to? > > > > > > > > Thanks in advance for your time and advises, > > > > > > https://dan.langille.org/2021/02/28/converting-an-iocage-jail-to-a-va= nilla-jail/ > > > > Sorry, I misread, and though you were moving to jails. > > No problem :-) > > > This is from ezjail to iocage. Might help. > > > > https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jail= s/ > > Sure it's help. > > > Yes, I have been moving from iocage to vanilla jails. I find it better = suits my use > > > > cases, specifically my FreshPorts jails which contain zfs file systems = which it > > > > must occasionally issue a 'zfs rollback'. I also like that my jails sta= rt or stop > > > > faster. The additional work I need to do relates to jail creation (crea= ting the > > > > file systems etc). For that, I'm using https://github.com/mkjail/mkjail= - in fact, > > > > this morning I am using that to update several jails. > > > > e.g. [dvl@r720-02:~/src/mkjail/src] $ sudo bin/mkjail upgrade -v 12.2-R= ELEASE -j nginx01 > > Interesting, may be I will reconsider switching=E2=80=A6 > > > After reading FreeBSD Mastery: Jails I saw how straight forward a jail.= conf entry can > > > > be. https://mwl.io/nonfiction/os#fmjail > > I read it, but there's no words about VNET and vanilla jails. Seems a lit= tle > > bit more difficult and all the jails must be switch at the same time (as = I saw > > from my small experience). I just finished the book; it does indeed talk about vanilla VNET jails. There's a section in Chapter 9 titled "Standard VNET Jails." It might be worth another look. > But I read to that you are not very happy with VNET jails :-) > > Btw, it's very hard to make my own opion with all the different experienc= es I > > read. :-) > > That said, and off topic, thanks for your blog, your shared experiences, > > FreshPorts and all you do for the community. -- Daniel Stevenson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ol7sfQqhYAS1Sc9O7XIgkM59ZG-zgVEpVaZd4ekU_Jb98GoIZmlbU5IO_2hmH7JgM0EoIT1-xYQPF5HKdlAH8boIJyZPPo-GYc2yzEBnYzU=>