4 ms·
Same here. Dont understand why not more ppl switched to alpine on the desktop. It is my daily driver. Plus LXD for stuff I must do (typically spawn ubuntu, etc.
by omani 3y ago
Same here. Dont understand why not more ppl switched to alpine on the desktop. It is my daily driver. Plus LXD for stuff I must do (typically spawn ubuntu, etc.)
my whole PDE (Personal Developer Environment) is within a container. Need python? Shell into (via dmenu) python container. All with complete neovim setup. Need a GUI? No problem. Spawn a container. My lxd profile is set up for this. Use chezmoi for heavy automated stuff.
My base alpine system always stays clean.
- lannisterstark 3y agoBecause most people don't need a reason to. Why would they switch to alpine?
- bsdnoob 3y agoBy any chance can you share how you do this practically?
- yard2010 3y ago+1 and from which IDE/text processor did you migrate from to neovim?
- coppsilgold 3y agoI also use alpine as the main/root environment. But I rarely use any applications from alpine. For that I have Arch, Fedora and Debian rootfs dirs into which I pivot_root with the help of bubblewrap (bwrap) in shell scripts. There is no overhead and the GPU can be easily attached. You can also dynamically attach ro/rw CWD and target paths (`for arg in "$@"`). Everything that I care about just works and I get a separation of concerns. Use of network namespaces allows further flexibility. For example, I have a netns that is forced through a Tor gateway such that any traffic originating in it can only go through Tor. This type of setup is not hardened against kernel vulnerabilities, the kernel treats applications running in namespaces as if they are isolated from other namespaces but those applications can still interact with broad surfaces of the kernel and therefore potentially exploit it. For kernel safety applications must be denied direct access to the host kernel, this is usually achieved with virtual machines.
- palata 3y ago> For kernel safety applications must be denied direct access to the host kernel, this is usually achieved with virtual machines. And that is what QubesOS does, if I understand correctly?
- deleted 3y ago[deleted]
- ThePowerOfFuet 3y agoYou do understand correctly.
- morjom 3y ago>why not more ppl switched to alpine I think one reason might be musl and its compatibility.
- wkat4242 3y agoWhat's so bad about musl? Everything works fine for me on Alpine. My desktop is FreeBSD but I have a few alpine servers for docker and other Linux specific stuff. And FreeBSD is even less Gnu-Linux compatible than Alpine yet everything works fine. Thanks to an army of port maintainers of course.
- throwawayxxbv 3y agoWorks fine after a lot of work. Sometimes.
- Scarbutt 3y agoHow do you run a GUI with a container? Xorg server running in the container?
- kspacewalk2 3y agoHere's how I do it using Docker Compose: https://gist.github.com/kspacewalk/52ea8f0c383f57a34042db2a01f60d21 https://gist.github.com/kspacewalk/52ea8f0c383f57a34042db2a0... Access via http://localhost:8080/vnc.html http://localhost:8080/vnc.html
- codethief 3y agoDo you have a separate neovim instance (config and all) in every container? Or a single neovim instance on the host which can access all container volumes? What about shell instances?
- PrimeMcFly 3y ago> Dont understand why not more ppl switched to alpine on the desktop. Same. When I was looking for a minimalistic distro, while unorthodox it seemed better than the alternatives. My next choice would be Void but I ran into some issues with it, and Alpine worked much more flawlessly.