Live data from Hacker News

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

github.com

61–70 of 118 posts

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

#62

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…

Rancher desktop is also a viable option and free. Many including my work moved to it after Docker's new licensing kicked in. IMO the real magic of Docker was the Docker/OCI image format. It's a brilliant way to perform caching and distribute container images, and it's really what still differentiates the workflow from "full" VM's.

Related to image format, has anyone tried to use alternative image formats? There was a differnt format / filesystem for containers to leverage deduplication between different images (so the node won't need to fetch yet another copy of cuda / pytorch)

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

#63

Earlier quoted context omitted.

Rancher desktop is also a viable option and free. Many including my work moved to it after Docker's new licensing kicked in. IMO the real magic of Docker was the Docker/OCI image format. It's a brilliant way to perform caching and distribute container images, and it's really what still differentiates the workflow from "full" VM's.

Related to image format, has anyone tried to use alternative image formats? There was a differnt format / filesystem for containers to leverage deduplication between different images (so the node won't need to fetch yet another copy of cuda / pytorch)

This is common in the Bazel community.

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

#65
post #8

Earlier quoted context omitted.

Rancher desktop is also a viable option and free. Many including my work moved to it after Docker's new licensing kicked in. IMO the real magic of Docker was the Docker/OCI image format. It's a brilliant way to perform caching and distribute container images, and it's really what still differentiates the workflow from "full" VM's.

My main dev machine is Linux so I use Rancher Desktop but I also have a MacBook Pro m1 machine. Orbstack is so much better than rancher and docker desktop. I know they are a small company but hell if their product isn’t significantly more efficient and better.

Podman-Desktop is also great b/c it now has gpu support on macOS (for the Linux container)

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

#68
post #8

Earlier quoted context omitted.

Rancher desktop is also a viable option and free. Many including my work moved to it after Docker's new licensing kicked in. IMO the real magic of Docker was the Docker/OCI image format. It's a brilliant way to perform caching and distribute container images, and it's really what still differentiates the workflow from "full" VM's.

My main dev machine is Linux so I use Rancher Desktop but I also have a MacBook Pro m1 machine. Orbstack is so much better than rancher and docker desktop. I know they are a small company but hell if their product isn’t significantly more efficient and better.

Love to hear that :) sent you an email about the k8s IPv6 issue — should be able to get it fixed in OrbStack

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

#69
post #40

Surprised no one's mentioned lazydocker as a great alternative for Docker Desktop (on Linux/macOS/Windows) [1]. It's a fairly full-featured Terminal UI that has the benefit of running over ssh: [1] https://github.com/jesseduffield/lazydocker

Lazydocker sure looks interesting, but self-promotional ads - for products in an entirely different space - in an OSS project's README.md? Seriously? At least for me it is the first time I have come across anything like this. I'm wondering if advertising like this is even allowed under GitHub's TOS and AUP.

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

#70

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…

A lot of popular wealthy systems are 'easy' to re-implement. I thought the value was in Docker images? Or is that not how Docker is used? The only way I've used it is to be able to import someone's virtual build setup so I could build something from years ago.
Post reply on HN