jail questions

Aaron LI aly at aaronly.me
Mon Jun 1 17:32:27 PDT 2020


On June 2, 2020 7:41:10 AM GMT+08:00, Chuck Musser <cmusser at sonic.net> wrote:
>I am starting to experiment with jails on Dfly and I have a couple of
>questions: 
>
>2. How do you install packages inside a jail. In the "full jail" I
>installed, the "pkg" program wasn't available. Is the proper technique
>to somehow do package installations from the "host" into the jail area?
>

You can bootstrap pkg(8) in a jail by doing:

cd /usr
make pkg-bootstrap


Cheers,

-- 
Aaron



More information about the Users mailing list