Hi,
Is it possible to implement Jails in a FreeBSD Droplet? If so, it would be nice to have some guidelines about making it work in a DO host. I´m thinking in using that technology in order to isolate several services (e.g. mail jail, http jail, db jail, etc.)
Thank you in advance! Juan Carlos
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
A little late to the game here, but Bastille makes it trivial to automate and manage jails as containers on DO. Takes care of the NAT issue mentioned here as well.
Jcamacho, where you able to get NAT’ing and jails to work using the loopback address space? I’ve tried with success using local Freebsd VM’s with jails configured to use dhcp and it works pretty well.
Thanks in advance with any suggestions or hints.
Shouldn’t be an issue to run jails in a droplet and there shouldn’t be anything particular to the DO setup to do WRT jails except perhaps related to networking. See:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
for general information on jails. If you can’t get additional IPs to assign to the jails, you could always set them up with 127.0.0.x IPs and port forward to the services in the jail.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.