4 ms·
so, uhm, before Docker, what was the one-liner that allowed me to get a ubuntu, fedora, nixos, ... shell automatically ?
by jcelerier 4y ago
so, uhm, before Docker, what was the one-liner that allowed me to get a ubuntu, fedora, nixos, ... shell automatically ?
- deleted 4y ago[deleted]
- eddyschai 4y agoYou can do something with lxc - I had to use it instead of Docker on a Chromebook a while back. The wrapper isn't as nice, but it's not actually that hard to get going.
- withinboredom 4y agotar -zf ubuntu.tar.gz && chroot ubuntu ish
- deleted 4y ago[deleted]
- jcelerier 4y ago$ tar -xzf ubuntu.tar.gz && chroot ubuntu tar (child): ubuntu.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 if I have to do wget of something (and find the url to wget) it's not worth it
- injinj 4y agoI would use debootstrap. https://semjonov.de/posts/2021-09/minimal-ubuntu-installation-with-debootstrap/ https://semjonov.de/posts/2021-09/minimal-ubuntu-installatio...
- jcelerier 4y agoIf it requires to read a whole blog article like this to setup someone can make and sell a product with a one-liner command that does it. They could call it, idk, decker or something
- withinboredom 4y agoI take it you don't remember learning Docker? I had to read way more than one article to fully understand it. I also had to learn what cgroups were and all kinds of things.
- vbezhenar 4y agotar -zf ubuntu.tar.gz tar: Must specify one of -c, -r, -t, -u, -x Doesn't work on my shiny macbook. I'll stick with Docker, I guess.
- neoromantique 4y agolxc-create -t ubuntu