It looks like it relies on BtrFS? Can anyone add support for OverlayFS 2? :) which I think is more deployed these days due to Docker itself I’d be curious to see how it looks
Bocker: Docker implemented in around 100 lines of Bash (2015)
41–50 of 122 posts
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#42follow up blogpost 'reimplementing 100 lines of bash in 1 million lines of go as resume building exercise'
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#43With all those prerequisites it's definitely possible. I can implement Docker witt one prereq in one line of Bash: docker "$@" You're welcome, internet.
Except, docker has the same prerequisites. That's kind of the point of this excercise, to show that docker is primarily glue between existing tools, not necessarily new technology.
1. Dockerfile concept.
2. Container image format (which is know known as OCI container).
3. Docker hub which is a repository of containers including high-quality ones.
Every thing is essential and bringed innovation.
Launching container is boring and not really interesting indeed.
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#44Earlier quoted context omitted.
Why do people care about github stars?
The same reason why people care about likes on Facebook or karma on HN. Internet points mean very little, until you get enough that you start floating to the top of popularity rankings, at which point they suddenly become indirectly monetizable.
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#45Just a note that this repo's latest update was in 2015
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#46Just because you can doesn't mean you should.
You shouldn't replace Docker with a shell script but you should understand (at some level) how Docker works. Unfortunately this code is pretty dense so it would probably take a while to untangle it.
True. You should replace it with podman!
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#47follow up blogpost 'reimplementing 100 lines of bash in 1 million lines of go as resume building exercise'
Then a level 79 Unix beard reimplements it in 40 inscrutable lines of Perl in the shape of an ascii whale... But can't figure out how it works an hour later.
=for comment
keep the ascii whale swimming
do not modify this code
=cutRe: Bocker: Docker implemented in around 100 lines of Bash (2015)
#48It looks like it relies on BtrFS? Can anyone add support for OverlayFS 2? :) which I think is more deployed these days due to Docker itself I’d be curious to see how it looks
I, too, wanted something like that and wrote it, in bash. :) Can confirm it's just as easy to do as you'd expect, and works quite well.
Re: Bocker: Docker implemented in around 100 lines of Bash (2015)
#49This is a great way of making fun of it.