Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jun 2015 23:46:37 +0200
From:      Patrick Hess <patrickhess@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: jails
Message-ID:  <3311782.n9oG808xge@desk8.phess.net>
In-Reply-To: <5575E4DC.1060204@fjl.co.uk>
References:  <55744D39.9020409@columbus.rr.com> <5575E4DC.1060204@fjl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Leonhardt wrote:
> In reality you can just copy all the files from a working FreeBSD 
> installation in to the directory of your choice, call it an jail and
> it  will probably run quite happily, assuming its binary compatible.
> This is fantastically useful.

Indeed, that's also one of my favorite features of jails. Just take 
anything that even remotely looks like a base system, make a copy of it,
and there's your brand new jail.

I usually grab myself a base.txz, like those really fresh ones you can 
find on ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ that still have 
that nice new car smell to them, extract it to a new directory, and then 
create a few basic configuration files (rc.conf, resolv.conf, etc.). 
That's really all there is to it.

But there's definitely more than one way to do it, that's the beauty.
Just pick the method you feel most comfortable with.

Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3311782.n9oG808xge>