Could this be used for GPU computation?
Show HN: Docker in the browser using x86-to-WASM recompilation
21–30 of 32 posts
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#22If you already have x86 to WASM, what do you need docker for? Seems like you already have all the encapsulation you could want at that point.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#23Earlier quoted context omitted.
It's very true. However what is intrinsically better about a .deb or .rpm apart from having been there first? Are they the epitome of something? This is an honest question, I am really not sure. I vaguely remember that making an rpm was unpleasant and not very well documented, but it's been about ten yeats now...
An rpm just needs to add the missing scripts and binaries to your existing operating system. It doesn’t need a full mini OS image to run. So an rpm will be ~2mb while a docker image of the same thing might be 150mb. Rpm and deb packages also usually contain startup scripts so any services can be set to start when your computer starts. And they can put log files and database files in your regular filesystem without an…
As much as I’m not a fan of Docker, it does isolate the container’s file system and other resources from the OS, something that deb/rpm/brew etc don’t do.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#24Earlier quoted context omitted.
An rpm just needs to add the missing scripts and binaries to your existing operating system. It doesn’t need a full mini OS image to run. So an rpm will be ~2mb while a docker image of the same thing might be 150mb. Rpm and deb packages also usually contain startup scripts so any services can be set to start when your computer starts. And they can put log files and database files in your regular filesystem without an…
As a counterpoint, a disadvantage of deb/rpm is that the installed code can actually scribble crap anywhere they like in your system. Did you just install a setuid program? Did it just install a service? Who knows! As much as I’m not a fan of Docker, it does isolate the container’s file system and other resources from the OS, something that deb/rpm/brew etc don’t do.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#25This is awesome, we have come full circle.
Not until we can have a browser within this docker container
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#26If you already have x86 to WASM, what do you need docker for? Seems like you already have all the encapsulation you could want at that point.
There's a generation of people who appear to treat docker images as a combined packaging/distribution mechanism. Instead of learning to create a .deb or .rpm, they write a dockerfile. I tend not to use that sort of thing, but not just because of docker - there's a bundle of related practices that tend to turn my eye elsewhere. YMMV.
Thanks to them we already have a way out of POSIX monoculture.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#27If you already have x86 to WASM, what do you need docker for? Seems like you already have all the encapsulation you could want at that point.
For driving development costs to zero.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#28Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#29Earlier quoted context omitted.
As a counterpoint, a disadvantage of deb/rpm is that the installed code can actually scribble crap anywhere they like in your system. Did you just install a setuid program? Did it just install a service? Who knows! As much as I’m not a fan of Docker, it does isolate the container’s file system and other resources from the OS, something that deb/rpm/brew etc don’t do.
You can unpack those formats with `bsdtar xf PACKAGE` and that's something that is much harder to do with Docker.
Re: Show HN: Docker in the browser using x86-to-WASM recompilation
#30Earlier quoted context omitted.
An rpm just needs to add the missing scripts and binaries to your existing operating system. It doesn’t need a full mini OS image to run. So an rpm will be ~2mb while a docker image of the same thing might be 150mb. Rpm and deb packages also usually contain startup scripts so any services can be set to start when your computer starts. And they can put log files and database files in your regular filesystem without an…
As a counterpoint, a disadvantage of deb/rpm is that the installed code can actually scribble crap anywhere they like in your system. Did you just install a setuid program? Did it just install a service? Who knows! As much as I’m not a fan of Docker, it does isolate the container’s file system and other resources from the OS, something that deb/rpm/brew etc don’t do.
This is one big advantage of docker. Applications are actually portable and isolated. We need more of that in our Linux distributions.