• rgovostes an hour ago

    Roman Shtylman has an example of using a Dockerfile to produce a rootfs for the Jetson Nano: https://github.com/defunctzombie/jetson-nano-image-maker (2022)

    I've always been hesitant to use this method over debootstrap: the Ubuntu container images ("FROM ubuntu:20.04") are created from a tarball that Ubuntu's convoluted CI system spits out and I'm not confident I understand if it's somehow suitable only for a container and not for real hardware.

    • twelvenmonkeys 10 hours ago

      We also have a GUI for trying this out!

      https://github.com/podman-desktop/extension-bootc

      We’re also starting to see other projects adopt a “OS as a Container image” such as Bazzite: https://bazzite.gg/ using bootc :)

      Feel free to ask any questions!

      • ChocolateGod an hour ago

        Why swap from the OSTree storage to OCI? Doesn't that negate the space saving offered by OSTree having a content addressable store.

      • tt726259 10 hours ago

        You can also achieve this with your current system

        > nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-25.05 -I nixos-config=./configuration.nix

        I use nixos btw

        • indigodaddy 9 hours ago

          Can this do vmdk format?

      • Kudos 2 hours ago

        I've used this to bootstrap bootc-based Fedora on my workstations. I've got a CI job that builds updated container images every night, a simple `rpm-ostree upgrade` pulls in the new image and `systemctl reboot` activates it.

        What I like about this is always having a known working image I can quickly swap to, particularly for the machine with an nvidia card.

        • tmaier 2 hours ago

          Universal Blue (Bluefin etc.) has a reusable GitHub template.

          https://github.com/ublue-os/image-template

          • franga2000 2 hours ago

            I'd love to have something like this for embedded system images, like for Raspberry Pi deployments.

            • hardwaresofton 2 hours ago

              I wonder which gets more actual usage, this project or linuxkit.

              Does anyone have experience worth sharing with both?

              • nullify88 5 hours ago

                I've been very excited on progress on bootc. I've tried to make my own coreos distro and its quite complicated in comparison.

                I've used this to start from a minimal base and added what I've needed on top. Best of all, updates are delivered via a container registry.

                • indigodaddy 9 hours ago

                  Huh, this is kinda wild. So for esxi images, this would seem to beat/potentially be simpler than the traditional Packer + interacting with an ISO on esxi infra, yes?

                  • westurner 9 hours ago

                    Does bootc-image-builder build Native Containers?

                    Do Native Containers work as VM images that can be stored in an OCI Image/Artifact/Package Registry?

                    I've been mentioning Native Containers since I realized that was how bazzite works now.

                    Is vagrant necessary anymore if host, vm, and container images can all be signed and stored in an OCI Image store?

                    From https://news.ycombinator.com/item?id=44137501 re: Firecracker and Microsandbox VMs :

                    > ostree native containers are bootable host images that can also be built and signed with a SLSA provenance attestation; https://coreos.github.io/rpm-ostree/container/

                    ublue-os/image-template: https://github.com/ublue-os/image-template :

                    > Build your own custom Universal Blue Image

                    ublue-os/akmods has nvidia GPU drivers, nvidia-open, zfs: https://github.com/ublue-os/akmods :

                    > A caching layer for pre-built Fedora akmod RPMs

                    > OCI images providing a set of cached kernel RPMs and extra kernel modules to Universal Blue images. Used for better hardware support and consistent build process.

                    nvidia-container-toolkit (CDI) is necessary for --gpus=all to do CUDA and libEGL 3D with podman. Is this also already installed in bazzite?

                    ublue-os/toolboxes: "quadlets and systemd service units for management", boxkit : https://github.com/ublue-os/toolboxes#images

                    ublue-os/devcontainer .devcontainer/devcontainer.json: https://github.com/ublue-os/devcontainer/blob/main/src/base/...

                    It looks like the Just Justfile 40-nvidia.just has moved due to image topology simplification? https://news.ycombinator.com/item?id=39364975 :

                    > ublue-os/config//build/ublue-os-just/40-nvidia.just defines the `ujust configure-nvidia` and `ujust toggle-nvk` commands

                    • lotharcable 8 hours ago

                      What does "native containers" mean in this context?

                    • yjftsjthsd-h 9 hours ago

                      > A container for deploying bootable container images.

                      ...as long as the images are in the Red Hat family (Fedora, CentOS Stream, RHEL).

                      • whs 16 minutes ago

                        I was going to try this to perhaps use it in production. Turns out the RHEL clones like Alma or Rocky doesn't have this thing in production-ready grade. All options you have now are owned by Red Hat themselves.

                        • ethan_smith 3 hours ago

                          The project roadmap actually includes plans to expand beyond Red Hat family distributions - there's active work to add support for Debian/Ubuntu and potentially other distros.

                          • tayo42 7 hours ago

                            Is there something about this makes it red hat specific. An OS is just a specific collection of files in the end. Whether things are installed with rpm or Deb shouldn't matter?