Shocker: Docker implemented in ~300 lines of bash 2 months ago
maaaaybe for production :)
HN user
maaaaybe for production :)
there's a bunch of new goodies now, including:
shocker run -e;
shocker run -it (improvements);
shocker run respecting WORKDIR, CMD, ENTRYPOINT;
and for silliness, you can shocker-in-shocker now :D
probably you should. or docker. or some other container engine.
but you can still have fun learning with this minimal tool.
agreed. probably not for production. but wow it has been great educationally to see all the parts and pieces from basic linux packages. I wouldn't have believed this could all be done in minimal bash. Thankfully btrfs does a lot of the heavy lifting (and also helps visualize copy-on-write, dir layouts, etc.)
highly recommend the delight playing with it on a VM! :)