3 ms·
I have used NixOS. It's fustrations led me to develop this. https://github.com/pauldotknopf/darch https://github.com/pauldotknopf/darch It is essentially Dock
by pknopf 9y ago
I have used NixOS. It's fustrations led me to develop this.
https://github.com/pauldotknopf/darch https://github.com/pauldotknopf/darch
It is essentially Docker, but you can boot bare-metal with it. It even uses Docker under the hood.
Every boot is a fresh boot. You can read-write during boot, but all changes are made to ram. You mount with fstab things you want persisted, like home.
- icebraining 9y agoInteresting. Isn't that essentially a livecd? Have you considered using Archiso? If so, what do you see as the advantages of darch?
- pknopf 9y agoArchiso/etc are similar, but that lack some things. --- Layering ---- I can change my inherited build without rebuilding everything. For example: base > xorg-nvidia > plasma > homepc I can easily switch desktop environments by making "homepc" inherit "i3", or w/e. Each layer is essentially a "Dockerfile". If you understand docker, you understand how the images are built and managed. --- Fast switching. --- I can create images for different dev environemnts/clients. I can create an image purely for gaming. I can create an image steam. Darch integrates with grub, so entries will dynamically show up on boot. --- Sharing with DockerHub. --- Sharing with other machines (and other people). Since they are docker images, I can easily upload them to DockerHub. I can update my local build by doing "docker pull && darch extract && sudo darch stage". I will soon setup Travis-CI to auto build and push to DockerHub. Then, I never have to build locally. A cron job will queue a build every few days to make my image "rolling". I can easily revert back to previously working docker images (all tagged by date).
- icebraining 9y agoThanks!