Do

Docker-boot – Run a system from RAM without LiveCD

Hacker News

Docker-boot – Run a system from RAM without LiveCD

How often do you screw up the system so much you have to reformat the disk (without losing data) to fix it? Well, sometimes I do, and sometimes I can't be bothered to burn a live ISO onto a USB stick. There's initramfs, but it's hardly a pleasant environment, with network configuration and all. My go-to solution has typically been to create a chroot with busybox and a few utilities in /tmp, chroot into it, and then kill services that use the solid drive so that I can unmount it. That's an error-prone process, and sometimes systemd itself uses disk, so you can't unmount the drive despite killing all the userland but PID 1. This script improves the UX. It uses a Docker image as the chroot base, which is much easier to tailor to your needs, and automagically commits all the atrocities, such as tearing down all the userland processes, including PID 1, and re-spawning the host system from the container filesystem. It also drives libostree and Nix users mad, because it can be used to try out a new DE or even a whole OS without polluting the host filesystem or spawning a virtual machine. The video in the README shows me trying out KDE + SDDM from a host running GNOME + GDM3.

Share card

Actual performance

27points
9comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: including · Missing: supports, reddit linkedin, podcasting
82%82% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: filesystem, ide, io · Missing: https docs, excited, just released
61%61% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, user, dock · Missing: agents, macos, agent
51%51% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video, users · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host, users · Missing: plus, platform, intuitive
48%48% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
13%13% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

ts
tsdocker – run Docker containers on your Tailnet52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

tsdocker – run Docker containers on your Tailnet

Hacker News2
#!
#!/usr/bin/env docker run28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

#!/usr/bin/env docker run

Hacker News496
do
docker-run.com enables to “docker run” in the clould with a subdomain52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

docker-run.com enables to “docker run” in the clould with a subdomain

Hacker News25
Ru
Run a kafka cluster using docker54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Run a kafka cluster using docker

Hacker News9
Po
PostgREST and swagger UI – an example you can run with Docker61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PostgREST and swagger UI – an example you can run with Docker

Hacker News3
Do
Docker-M1-hack – Run Docker on your M1 MacBook64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docker-M1-hack – Run Docker on your M1 MacBook

Hacker News1
Fi
FinD – Run Firecracker MicroVMs inside Docker containers58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FinD – Run Firecracker MicroVMs inside Docker containers

Hacker News2
Dj
Django on Docker45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Django on Docker

Hacker News3
Do
Docker NGINX container68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docker NGINX container

Hacker News1
Do
Docker Conductor48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Docker Conductor

Hacker News1