17 ms·
Docker doesn’t let you take the union of separately-authored base images together as a runtime image for your app. Lambda (apparently) does. That’s the only ma
by derefr 8y ago
Docker doesn’t let you take the union of separately-authored base images together as a runtime image for your app. Lambda (apparently) does.
That’s the only major difference I can see, though. The rest is convention/standardization on what’s put into the image (an executable that speaks HTTP over its stdio; separately-namespaced projects under /opt rather than use of the global namespace; etc.)
- manigandham 8y agoWhy wouldn't Docker layers work the same way? More work but possible by stacking base images.
- tlrobinson 8y agoTechnically Dockerfiles don't let you do that (they used to https://github.com/moby/moby/issues/13026 https://github.com/moby/moby/issues/13026) but in theory it should be possible to construct a Docker image from multiple base images (e.x. https://grahamc.com/blog/nix-and-layered-docker-images https://grahamc.com/blog/nix-and-layered-docker-images)