7 ms·
Shocker: Docker implemented in ~300 lines of bash
- deleted 4mo ago[deleted]
- devopsish 4mo agowhy not just use podman?
- traceypooh 4mo agoprobably you should. or docker. or some other container engine. but you can still have fun learning with this minimal tool.
- kspetkov79 4mo agoThis kind of project is useful because it shows that containers are not magic. Not something I would run in production, but good for understanding the parts.
- traceypooh 4mo agoagreed. 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! :)
- traceypooh 4mo agomaaaaybe for production :)
- traceypooh 4mo agothere'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