Live data from Hacker News

Show HN: Slim – Build and run tiny VMs from Dockerfiles

github.com

71–80 of 144 posts

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#71
post #7

I’d love to see an orchestrator that made switching between bare metal, vm and containers a simple configuration option. This is a step in that direction. Cool stuff!

Proxmox did a pretty good job of that in my opinion. Albeit it was more inspired by vSphere than Docker (it predates Docker).

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#72
post #65

Why does everything in node have to have all the dependencies in the world? ``` @sindresorhus/is JSONStream ansi-regex ansi-styles archive-type argparse asn1 async balanced-match base64-js bcrypt-pbkdf bl bluebird brace-expansion buffer buffer-alloc buffer-alloc-unsafe buffer-crc32 buffer-fill buffer-from cacheable-request camelcase caw chalk chownr cliui clone-response color-convert color-name commander concat-map c…

Yesterday a friend of mine told me about how they got a Node.js application from a vendor that was about 3 MiB, and after running npm install, it was over 1 GiB. I half-jokingly said that Node apps are the new ZIP bombs.

good luck to your friend with repeatable installations :P

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#73

Recently on HN (I think) and related: - https://micromind.me/en/posts/from-docker-container-to-boota... - https://godarch.com/ Really like seeing these new usecases for containers -- would have never thought to mix the two technologies in this way.

They seem to do very little that SystemD cannot already do with services and overlayFS, with the added benefit of being already available on most systems.

SystemD does not run on Windows which ist still being used in many companies..

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#74
post #30

Earlier quoted context omitted.

Because I don't want to have to install the massive nodejs runtime just to glue things together.

I'm just curious what you feel about Java, .Net, Python and Ruby? Ruby is a hair smaller, but the others are actually bigger than the NodeJS runtime, with .Net and Java being significantly bigger. Or, do you only run software hand crafted in assembly?

You're painting a false dichotomy. There are lighter-weight options, like Go.

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#75
post #66
post #37

Earlier quoted context omitted.

I avoid any desktop app that uses electron or similar. Electron is still a hog, and most things written in electron have alternatives. I don't use the slack desktop app for this reason, as an example.

So you use the browser app which uses approximately the same amount of memory / resources?

Minus the browser. Each Electron app isn’t just the running web app but also the browser instance too. Where as a web app running in a browser wouldn’t consume its own browser instance.

That browser instance alone can make quite a noticeable difference.

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#77
post #72

Earlier quoted context omitted.

Yesterday a friend of mine told me about how they got a Node.js application from a vendor that was about 3 MiB, and after running npm install, it was over 1 GiB. I half-jokingly said that Node apps are the new ZIP bombs.

good luck to your friend with repeatable installations :P

If you need repeatable installations, wouldn't node be the wrong tool? I mean, you'd have to freeze everything yourself and then those libraries become _your_ problem. Ugh. That's a hell nobody wants.

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#79
post #70

Earlier quoted context omitted.

This is what you get when you combine a really easy to use package management ecosystem and the standard library is really bad. You don't see this in Python for example, because its not so easy (its getting better though) to create packages and because its standard library is massive.

Javascript's standard library isn't bad, it's perfectly adequate for its intended use case - acting as a lightweight scripting language for the web, within a browser. Javascript as a system or backend language was a mistake, but there's no putting that genie back into the bottle.

You're confusing JS and NodeJS. NodeJS has more stdlib stuff; opening files, for example.

Re: Show HN: Slim – Build and run tiny VMs from Dockerfiles

#80
post #7

I’d love to see an orchestrator that made switching between bare metal, vm and containers a simple configuration option. This is a step in that direction. Cool stuff!

There's this[1], though not exactly what you asked for.

[1] - https://github.com/firecracker-microvm/firecracker-container...

Post reply on HN