News for hackers. Stuff that matters.
Re:Kaniko: Build container images in Kubernetes by dlor on Monday April 16, 2018 @05:26PM (#16852936)
+1000 on docker images being easier to construct than it seems.

I wrote a few blog posts awhile ago on this where I reimplemented docker pull and push in bash: https://www.danlorenc.com/posts/containers-part-1/

It even got up to basic image modification support.

Disclosure: I work on kaniko and lots of other things that construct docker images without docker at Google.

Re:Kaniko: Build container images in Kubernetes by lstamour on Monday April 16, 2018 @11:55PM (#16855337)
See also: Docker image spec 1.2 https://github.com/moby/moby/blob/master/image/spec/v1.2.md

Not to be confused with the similarly named “Image Manifest V2, Schema 2”: https://docs.docker.com/registry/spec/manifest-v2-2/

Oh and there’s the OCI spec too: https://github.com/opencontainers/image-spec/blob/master/spe... (and its repo)

Really enjoying all these Docker-demystifying posts, I wish I’d found these months ago while puzzling over how Dockerless worked from confusing bzl files. In fact, I really wanted Kaniko just yesterday as I poured over DinD and wondered why it was so complicated to build Docker images within Kubernetes. Now all we need is a lightweight CI wrapper for K8S jobs with GitHub webhook and kubectl apply support! :)

Re:Kaniko: Build container images in Kubernetes by fulafel on Tuesday April 17, 2018 @12:03AM (#16855368)
This unpacks a series of tarballs fetched with curl, but it's not clear how it would correctly handle file deletions.
Re:Kaniko: Build container images in Kubernetes by errm on Thursday April 19, 2018 @08:47AM (#16875414)
In the OCI image spec file deletions are handled with special whiteout files... See: https://github.com/opencontainers/image-spec/blob/master/lay...