Live data from Hacker News

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

github.com

11–20 of 118 posts

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

#11
post #9

Earlier quoted context omitted.

Docker Desktop on Mac is a handicapped, underprivileged mess. Docker cli for Mac with Colima is still underprivileged, but at least you can skip the bs license and Docker's gui. On Windows you can at least use Docker on WSL which works great. Why use Docker Desktop is beyond me.

> Why use Docker Desktop is beyond me. I lived through a failed attempt to migrate from Docker Desktop for Mac to an open source alternative (minikube+portainer, IIRC). A lot of test scripts developers relied on – to run parts of the integration test suite on their laptops for debugging – broke, because Docker Desktop for Mac went to a lot of effort to make macOS look like you were running Docker on Linux, whereas th…

I would look at Orbstack. Yes it costs money but it is pretty great.

Your situation sounds very similar to the company I work for. Orbstack has been a drop in replacement except one issue. Any dev using IPv6 assignment on their home network has issues where pods try to hit external dns because it tries to use IPv6 and I don’t think the Orbstack k8s instance is dual stack.

There are hacks to get around it but if I could get Orbstack to address this issue, I couldn’t find one other issue.

Orbstack is crazy fast and way better than docker desktop overall

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

#13
post #9

Earlier quoted context omitted.

Docker Desktop on Mac is a handicapped, underprivileged mess. Docker cli for Mac with Colima is still underprivileged, but at least you can skip the bs license and Docker's gui. On Windows you can at least use Docker on WSL which works great. Why use Docker Desktop is beyond me.

> Why use Docker Desktop is beyond me. I lived through a failed attempt to migrate from Docker Desktop for Mac to an open source alternative (minikube+portainer, IIRC). A lot of test scripts developers relied on – to run parts of the integration test suite on their laptops for debugging – broke, because Docker Desktop for Mac went to a lot of effort to make macOS look like you were running Docker on Linux, whereas th…

I've just use a Debian arm virtual machine and be done with it (M1). If I'm going to run a VM regardless, may as well go with a full fledged one.

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

#14

The fact how simple it is to re-implement a large part of Docker because all it fundamentally is a bit of glue code to the kernel is the biggest problem Docker-the-company faced and still faces. Where Docker adds real value is not (just) Docker Hub but Docker for Windows and Mac. The integrations offer a vastly superior experience than messing around with VirtualBox and Vagrant by hand (been there, done that) to achi…

Docker for Mac is just unusable. They're not really adding any value there.

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

#19
I love these. Been a fan of minimal bash stuff. Here's a proof of concept for a intra-cluster load balancer in 40 lines of bash done during a hackathon I organized to promote distributed infra with Docker, Mesos, etc. about a decade ago https://github.com/cell-os/metal-cell/blob/master/discovery/...

I likely lost it, but I had a redundand and distributed reverse SSH tunnel based colo-to-cloud transfer tool.

Shell Fu and others have good collections of these https://www.shell-fu.org/

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

#20

The fact how simple it is to re-implement a large part of Docker because all it fundamentally is a bit of glue code to the kernel is the biggest problem Docker-the-company faced and still faces. Where Docker adds real value is not (just) Docker Hub but Docker for Windows and Mac. The integrations offer a vastly superior experience than messing around with VirtualBox and Vagrant by hand (been there, done that) to achi…

Docker for Mac is just unusable. They're not really adding any value there.

Have you tried out Orbstack?
Post reply on HN