Live data from Hacker News

Microcontainers – Tiny, Portable Docker Containers

iron.io

21–30 of 68 posts

Re: Microcontainers – Tiny, Portable Docker Containers

#21
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

I don't know if things have changed in the past few months, but the last time I tried nix it's used too much memory to make it practical to run it within a VM on my laptop.

Re: Microcontainers – Tiny, Portable Docker Containers

#22
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

> docker was created to enable easy scaling of web applications

Citation? From my perspective, most of the features you'd need to do that appeared around 2 years into Docker's life.

Re: Microcontainers – Tiny, Portable Docker Containers

#23

Isn't it the same as using "alpine" as base ? https://news.ycombinator.com/item?id=10782897

It looks like their base image is based off of the alpine image[1].

[1]: https://github.com/iron-io/dockers/blob/master/base/Dockerfi...

Re: Microcontainers – Tiny, Portable Docker Containers

#24
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

I mostly agree with what you're saying, but what caught my eye was:

> About the author > Hey! I’m Marc, an eighteen years old software engineer located in Germany.

You're obviously quite knowledgeable and well spoken for such a young age, and presumably English isn't your first language either. I just wanted to say keep up the good work, you have a bright future ahead of you – kudos!

Re: Microcontainers – Tiny, Portable Docker Containers

#25
post #6

I have to say I love the work iron.io does. Their "iron worker"[1] service is awesome (think Amazon Lambda for pretty much any common language). [1] http://www.iron.io/worker/

Interesting. How long does it take an "iron worker" to start code execution after a webhook (latency)?

Re: Microcontainers – Tiny, Portable Docker Containers

#26
post #24
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

I mostly agree with what you're saying, but what caught my eye was: > About the author > Hey! I’m Marc, an eighteen years old software engineer located in Germany. You're obviously quite knowledgeable and well spoken for such a young age, and presumably English isn't your first language either. I just wanted to say keep up the good work, you have a bright future ahead of you – kudos!

Surprised he advertises his age, I started working around that age and pretty deliberately avoided age as a topic of discussion. Age is something best left unmentioned in a professional context.

Re: Microcontainers – Tiny, Portable Docker Containers

#27

how are you guys using docker btw? I keep hearing about it, I like it but have almost to no reason to use it.

Amongst other things I use it to run Skype on my Linux laptop, cos I don't trust Microsoft.

https://github.com/sameersbn/docker-skype

Re: Microcontainers – Tiny, Portable Docker Containers

#28
Docker storage engines remember all the layers by storing incremental differences so it makes little sense to have a layer that only removes things (like the last RUN in https://github.com/iron-io/dockers/blob/master/ruby/Dockerfi...). You can see with `docker history ` that this layer has 0 bytes and you can access anything that it removes by using the parent image (`docker run -it 88ae7e32865f ls /var/cache/apk`).

In this case it doesn't make much difference (a couple of MB perhaps) but often you'll see people chaining all the commands and ending it with a cleanup in a single RUN like here: https://github.com/docker-library/ruby/blob/ccbf9e54f60ba245...

Re: Microcontainers – Tiny, Portable Docker Containers

#29
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

> docker was created to enable easy scaling of web applications Citation? From my perspective, most of the features you'd need to do that appeared around 2 years into Docker's life.

Initial docker was part of dotCloud, a platform-as-a-service company[0]. From the perspective of a paas-company container technology allows for easy scaling. From the perspective of a docker user you're right that many of these tools were not available until recently.

[0]: https://en.wikipedia.org/wiki/Docker_(software)#History

Re: Microcontainers – Tiny, Portable Docker Containers

#30
post #24
post #11

> Docker enables you to package up your application along with all of the application’s dependencies into a nice self-contained image. You can then use use that image to run your application in containers. Actually docker was created to enable easy scaling of web applications. If you want to package your application up take a look at some modern package managers. By using a modern package manager like nix you can wor…

I mostly agree with what you're saying, but what caught my eye was: > About the author > Hey! I’m Marc, an eighteen years old software engineer located in Germany. You're obviously quite knowledgeable and well spoken for such a young age, and presumably English isn't your first language either. I just wanted to say keep up the good work, you have a bright future ahead of you – kudos!

Thanks, made my day :) In case you found some spelling or grammar mistakes let me know.
Post reply on HN