Live data from Hacker News

Bocker: Docker implemented in around 100 lines of Bash (2015)

github.com

91–100 of 122 posts

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#92
post #49

Love this. There is no other single project as overhyped and over used as Docker. This is a great way of making fun of it.

Simple doesn't mean overhyped or over used. Both 'ls' and 'cd' are simple to implement. The script is more of a tutorial than it is making fun of anything. You'd need to give better reasons for why Docker is overhyped than "look at this simple script which does some Docker-like stuff".

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#93
post #89

Earlier quoted context omitted.

For many cases, you don't need it. For example, deploying a Go binary. Some people have the habit of dockerizing everything at any cost and complexity.

You can still stick a single binary in a container. (Putting a whole Linux in the container as well, that's probably overkill. And alas, it's also what docker does by default.)

There are ready-made no-distro base images where you can stick a single binary and reap the benefits of isolation.

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#94
post #77

Earlier quoted context omitted.

While some parts of Docker are far from elegance, I find the isolation of containers from the host by default a beneficial feature, and part of the very point of containers. The syntax of port mapping is unfortunate and unergonomic, but I suppose it just follows the syntax of port forwarding in OpenSSH :-/ For a number of improvements / different trade-offs, see Podman. But does it have a neat client for macOS, which…

I think Docker is great, just needs a new interface.

A bit like git :)

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#95

Earlier quoted context omitted.

To be fair one is for demonstration purposes and the other is intended to be used. They seek the same protections regardless. It's kind of like how a $1,000 water filtration system wants the same legal protection that a $15 Brita does or heck, I'd assume if you got scammed with a fraudulent water filter that used orgone energy and crystals, it too would also want those legal protections. You'd probably want to tread…

Sure, but in this case both Bocker and Docker just orchestrate features of Linux, which is where all the risks and complexity lies. To verify that Bocker adds no additional issues is a smaller job than verifying Docker in the same way. If there is some problem in the actual containerization, Bocker and Docker will be equally affected.

Isn't the argument presented here that just because two things have the same "no responsibility in event of failure"-clause does not mean likelihood of failure, robustness, battletesting, etc, are comparable? Or am I missing something

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#96

Earlier quoted context omitted.

That emoji exists because of the blood type. 🅰🅱🆎🅾 There was a meme a while back where people would use 🅱 all over the place. Not sure why it was funny but it was.

If you have to explain it, it's not funny. Particularly when the knowyourmeme page seems to indicate it's most prominently used by racists.

This is not a meme forum; the occasional meme is fine, but explanations are welcome.

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#97
My team is being hit with really extreme pricing changes for Docker Desktop. I have never been clear on why we even wanted DD (I guess right now it’s the easiest path to getting x86 containers running on M1 Macs?). Alternatives like Podman or even a more extreme solution like this one are becoming more and more attractive.

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#98

Yet more proof that this exact UX/DX from the interface is a major part of the value add. (Edit: and docker-compose) One day the FreeBSD devs will understand. The closest is Focker: https://github.com/sadaszewski/focker

Laughing my head off at that “important legal notice”

I don't see it as funny - the author is probably mentally ill and suffering.

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#99

My team is being hit with really extreme pricing changes for Docker Desktop. I have never been clear on why we even wanted DD (I guess right now it’s the easiest path to getting x86 containers running on M1 Macs?). Alternatives like Podman or even a more extreme solution like this one are becoming more and more attractive.

Check out rancher desktop, it's free and also available on apple silicone

https://rancherdesktop.io/

Re: Bocker: Docker implemented in around 100 lines of Bash (2015)

#100
post #52
post #36

Earlier quoted context omitted.

It can mean that but the world is a wicked place and that means no security updates either. Maybe none are needed.

Right, because there could be a security vulnerability in any one of those 100 lines of the Bash script. ;)

People here usually flip out about security when there is a 1 line bash install script. The world is a scary place when you don’t trust anyone
Post reply on HN