News for hackers. Stuff that matters.
Re:Rails on Docker · Fly by rendaw on Thursday January 26, 2023 @02:33PM (#34537477)
Self hoisting here, I put this together to make it easier to generate single (extra) layer docker images without needing a docker daemon, capabilities, chroot, etc: https://github.com/andrewbaxter/dinker

Caveat: it doesn't work on Fly.io. They seem to be having some issue with OCI manifests: https://github.com/containers/skopeo/issues/1881 . They're also having issues with new docker versions pushing from CI: https://community.fly.io/t/deploying-to-fly-via-github-actio... ... the timing of this post seems weird.

FWIW the article says

> create a Docker image, also known as an OCI image

I don't think this is quite right. From my investigation, Docker and OCI images are basically content addressed trees, starting with a root manifest that points to other files and their hashes (root -> images -> layers -> layer configs + files). The OCI manifests and configs are separate to Docker manifests and configs and basically Docker will support both side by side.

Re:Rails on Docker · Fly by mrkurt on Thursday January 26, 2023 @03:40PM (#34538488)
The newest buildkit shipped a regression. This broke the Docker go client and containerd's pull functionality. It has been a mess: https://community.fly.io/t/deploying-to-fly-via-github-actio...
Re:Rails on Docker · Fly by cvccvroomvroom on Thursday January 26, 2023 @11:04PM (#34542317)
Self-hosting and self-hoisting here. Whenever docker gives me grief, I use podman.