Hacker News new | past | comments | ask | show | jobs | submit login
Install Alpine Linux on FreeBSD Jail (dragas.net)
63 points by vermaden 4 months ago | hide | past | favorite | 2 comments



I'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.


For 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: