4 ms·
Install Alpine Linux on FreeBSD Jail
- ggm 2y agoI'd be interested in trying this. I have a TrueNAS core running an Alpine bhyve child, and have run jails but because of minor userspace porting issues they can be a pain. Finding out which sysctl/os calls "fail" for e.g. Node compiled for Alpine would be interesting. Mostly, I think it will be around /proc and some fs stuff.
- wahern 2y agoFor its part, musl libc (Alpine's libc) makes minimal use of /proc, and only when necessary. The only unconditional uses I see are for pthread_getname_np/pthread_setname_np, ttyname_r, and some dynamic linking reflection bits. But as shown in the article, FreeBSD also has the linprocfs filesystem, which emulates a subset of Linux /proc: https://man.freebsd.org/cgi/man.cgi?query=linprocfs https://man.freebsd.org/cgi/man.cgi?query=linprocfs