Live data from Hacker News

Dissatisfied with Docker

robert.ocallahan.org

21–30 of 229 posts

Re: Dissatisfied with Docker

#22
post #14

The article is completely on point. Because of all the reasons exposed there (and a few more) I started Wasmer, a new container system based on WebAssembly - https://wasmer.io/ Here are some advantages of Wasmer vs Docker: * Much faster startup time * Smaller containers * OS independent containers (they can run in Linux, macOS and Windows) * Chipset independent containers (so they can run anywhere: x86_64, Aarch64/AR…

One thing I also find sorely lacking in Docker is the ability to run your containers with the appropriate seccomp privileges (in order to enforce Principle of Least Authority). I know this is possible with Docker, but it's not really done much in practice because of various difficulties. I wonder how difficult it would be to do that with your tool?

Since Wasmer is in control of all the syscalls its actually quite easy to manage the privileges in a more fine-grained way (think on CloudABI permissions on top of your containers)

Re: Dissatisfied with Docker

#23
post #14

Earlier quoted context omitted.

One thing I also find sorely lacking in Docker is the ability to run your containers with the appropriate seccomp privileges (in order to enforce Principle of Least Authority). I know this is possible with Docker, but it's not really done much in practice because of various difficulties. I wonder how difficult it would be to do that with your tool?

Since Wasmer is in control of all the syscalls its actually quite easy to manage the privileges in a more fine-grained way (think on CloudABI permissions on top of your containers)

That sounds really interesting. I'm going to check it out. Thanks for working on this!

Re: Dissatisfied with Docker

#24

These are real problems with docker, but do we wanna talk about docker for Mac? A total performance disaster. https://github.com/docker/for-mac/issues?q=is%3Aissue+is%3Ao...

I hate how the Docker team called it native. Docker for Mac/Windows still run in a hypervisor because so much of Docker is specific to Linux/cgroups. There was a FreeBSD port of Docker that attempted to implement a lot of the Docker API using zfs+jails but it went unmaintained and was never ported to the newer modular Docker implementation. You're always going to get that performance hit with the hypervisor layer the…

Docker for Windows is coming to use the WSL2, beta is already out.

Re: Dissatisfied with Docker

#25
These are all pretty good points. I can understand why Docker allows any base layer OS, but they could have made their own packages or limited a single distro and it would be easier to check for outdated packages and security issues in containers.

The cgroups and Linux specific hooks keep Docker from being implemented natively anywhere else. The fact you have to share the entire Docker socket for containers to be able to control other containers, or that it's not trivial to run Docker-in-Docker, is terrible.

I did a similar writeup about the things I hate about container orchestration systems:

https://penguindreams.org/blog/my-love-hate-relationship-wit...

Re: Dissatisfied with Docker

#26
post #11

Earlier quoted context omitted.

Wasmer looks interesting. I couldn’t read much as I get an “unexpected error” as soon as I start scrolling. It does say that it’s not optimised for mobile.

Thanks for reporting it! We will investigate and try to fix it ASAP :) PS: if you could provide your device info (os and browser) it would be awesome

The black terminal next to the “Try It Now” remains blank while the cursor box zooms around it. No visible text is seen.

iPhone XS Max, iOS 13 GM, Safari.

Re: Dissatisfied with Docker

#28
post #6

I'm newer to the Docker scene but haven't really found any of the complaints in this article realized in my work. Faster speed would be nice but I don't really mind it now. I see a lot of complaints about the docker daemon and root privileges on HN and I've tried to understand where they are coming from but I can't get anywhere. For instance, I understand the reasoning behind "if there is no need for a daemon there s…

It would be faster.

I also don’t really care if a container take 2 seconds or 100ms to start... but building docker images is painfully slow.

I’ve also ended up (numerous times) with the “docker daemon is borked” situation, which requires a restart to fix... and you can imagine how that sucks on a prod or multi tenant systems.

Re: Dissatisfied with Docker

#29
post #10

I just want to be able to save a container binary to a USB drive and then run it from a different computer without having to install anything.

There are a number of ways to get this kind of functionality. Can you expound on "different computer"?

Re: Dissatisfied with Docker

#30

Earlier quoted context omitted.

I hate how the Docker team called it native. Docker for Mac/Windows still run in a hypervisor because so much of Docker is specific to Linux/cgroups. There was a FreeBSD port of Docker that attempted to implement a lot of the Docker API using zfs+jails but it went unmaintained and was never ported to the newer modular Docker implementation. You're always going to get that performance hit with the hypervisor layer the…

Docker for Windows is coming to use the WSL2, beta is already out.

Calling it “Docker for Windows” is still highly inappropriate and misleading. It is super confusing.
Post reply on HN