I searched first, but can't find an example of this - I must be missing something.
I can install packages using a custom repo on the host, using poudriere:
$ doas pkg install dokuwiki
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating myrepo...
Hello,
does already exist a tool which setups networks and hostname lookups for jails so that services in jails can find and communicate to each other in a safe but also dynamic way on multiple hosts?
More or less like it is done by Docker Swarm or K8.
Thanks
I want to create a Jail with a public IP address. But as we have IPv4 address shortage. I want to only make the jail able to bind to a range of ports (say 700 to 750).
I asked in the IRC and one answer was to use pf to NAT ports from/to the jail.
Hey All,
I have been facing a problem while trying to run Hashicorp's Vault service and I was hoping for some guidance.
I've created a jail and have installed Vault (v1.8.7) into it via pkg -j vault-jail install vault. The vault installation seems to be working fine,
however when I try to...
I used the command jls for example. then it responded with the following table:
JID IP Address Hostname Path
7 hydroponique /jails/hydroshop
now I want to know if IP Address is an IPV4 address or an IPV6 address. So what are my...
Hello,
I'm new to work with jail. I try this example:
FreeBSD jails: a complete example
I've created the jail from another example - copied some files from the host - did a bit configuration - and it works: I can start it and connect in it with 'tcsh' command.
With the example above I try to...
root@mx32 ~]# freebsd-version
12.3-RELEASE-p2
[root@mx32 ~]# uname -a
FreeBSD mx32.harte-lyne.ca 12.3-RELEASE-p1 FreeBSD 12.3-RELEASE-p1 GENERIC amd64
I have recently begun to see this in one of our (iocage managed) jails while logged in via ssh.
# service postfix status
/etc/rc.conf: $...
I'm on a TrueNAS so the file system is ZFS. I'm also in a "jail". The file system is originated on the base TrueNAS system and then it gets mounted into the jail.
I have a program that runs through the file system creating a database of dirent entries and inode entries. I've assumed that the...
Hi,
I'm having issues with VNET on my FreeBSD 13.0-RELEASE-p11 host running on a cloud VPS.
After some other problems previously discussed in this thread, I'm now stuck with the following issue:
I have a very simple VNET jail setup (config see below) and tried to manually assign it an epair...
I have a problem getting dhcpd to run inside a iocage controlled jail. Following various bits and pieces found on the web I have successfully configured a jail with a VNET interface.. This appears to work as I can ping into and out off the jail from internal and external addresses. For...
Hi !
I have recently convert my jail from ezjail to iocage
With the help of this script: https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jails/
All work but sometimes if I stop a jail processes hangs even if jail is stopped. This process are not possible to kill so I need...
Hello fellow daemons! Today I started making my first jail, but I got face to face with a problem. When I started my jail with "doas service jail start jail (the name of my jail)" it returned me an unexpected EOF:
Starting jails: cannot start jail "jail":
jail: /etc/jail.conf: unexpected EOF
...
I ran across this while investigating a different problem:
[root@vhost06 ~ (master)]# ps -auwx -O jid -d | grep 'USER\|periodic'
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND PID JID TT STAT TIME COMMAND
root 6623 0.0 0.0 10684...
If I want to setup a jail during the freebsd install process, I would have to assign the jail an IP address on the same subnet as the host itself so that I can avoid needing to NAT? Is that correct?
Or is there another approach I could use?
I'd like to have everything configured during the...
It's been quite a few months in the making, but I believe I have something good enough to share with the community. It's written in shell, based on zfs, and uses the underlying FreeBSD tools.
Here's a summary of features:
All workloads are run inside of jails
GUI jails! Comes with a...
Hi there,
I've been using qjail for years, and my jails been running nice since then. Till today. I was trying to update the packages inside one jail and got this error:
git_jail /root >pkg update && pkg upgrade
Updating FreeBSD repository catalogue...
[git_jail] Fetching...
So I've been poking at Linux jails in 13.0. I've managed to get a Ubuntu and Debian jail running, but now I want to take it a step further. Has anyone ever got VNET working inside of a Linux jail? I can only get so far before I start running into issues.
Anyway, here's my jail.conf
path =...
Hi,
when I activate PF in my server, I cause connectivity to my jails to be blocked (even when it should not). With PF disabled, everything works. I am likely doing something stupid, but I need other eyes to look at it.
My jails are bound to the only active interface igb0:
root@host # ifconfig...
Hello,
I have a jail set up to test my nginx web server on my local machine and make changes to it before I push. However, I wanted to use a GUI editor from outside the jail to edit the HTML/CSS (which is the main reason I wanted to use a jail). I made perhaps a horrible mistake by recursively...
Dear all,
Setting up jail.conf, I've setup some exec.prestart & exec.release scripts for the jail service to run before starting up jail. I'll take one example where I create epair for the jail's interface in exec.prestart & destroy them in exec.release. My problem is that if, for any reason...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.