fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#boot2container

0 posts0 participants0 posts today
Martin Roukala (né Peres)<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@krh" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>krh</span></a></span> Yeah.... that's why with the CI infra I've been developing (<a href="https://social.treehouse.systems/tags/CI_tron" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CI_tron</span></a>), we run containers directly from an initrd (<a href="https://social.treehouse.systems/tags/boot2container" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>boot2container</span></a>). It doesn't solve the reproducibility of results across kernels and hardware, but at least the userspace is covered!</p>
Martin Roukala (né Peres)<p>Pour le fédivers Francophone:</p><p>Voici une présentation, faite par mon ami et contributeur Vincent Autefage, de <a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a>. Ce projet open source est un initramfs contenant <a href="https://fosstodon.org/tags/podman" class="mention hashtag" rel="tag">#<span>podman</span></a> et permettant de démarrer des conteneurs sans installation préalable d&#39;un système d&#39;exploitation (très utile pour les tests de pilotes dans un environnement CI).</p><p><a href="https://2024.jres.org/programme#modal-11" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">2024.jres.org/programme#modal-</span><span class="invisible">11</span></a></p>
Martin Roukala (né Peres)<p><a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a> v0.9.13 is out 🥳</p><p>This initramfs embeds <a href="https://fosstodon.org/tags/podman" class="mention hashtag" rel="tag">#<span>podman</span></a> 5.3 and allows you to run one or more containers, entirely configured via the kernel command line... which is perfect for <a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="tag">#<span>linux</span></a> driver testing in CI as every job gets full control of its test environment without having to re-download/deploy it at every boot nor influencing other jobs!</p><p>It runs on any AMD64, AARCH64, ARMv6, or RISCV64 computer running a recent Linux kernel.</p><p>Get it while it&#39;s fresh at <a href="https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/v0.9.13" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">gitlab.freedesktop.org/gfx-ci/</span><span class="invisible">boot2container/-/releases/v0.9.13</span></a></p>
Martin Roukala (né Peres)<p>Achievement unlocked: Booting a CI system in an hotel room... on another continent... with 4 DUTs (RPi5, VisionFive2, HDK8550, and a Steam Deck)... over WiFi !</p><p>Tune to our demo at <a href="https://fosstodon.org/tags/xdc2024" class="mention hashtag" rel="tag">#<span>xdc2024</span></a> to see more: <a href="https://indico.freedesktop.org/event/6/contributions/301/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">indico.freedesktop.org/event/6</span><span class="invisible">/contributions/301/</span></a></p><p><a href="https://fosstodon.org/tags/ci" class="mention hashtag" rel="tag">#<span>ci</span></a>-tron <a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a></p>
Martin Roukala (né Peres)<p><span class="h-card" translate="no"><a href="https://social.treehouse.systems/@cas" class="u-url mention">@<span>cas</span></a></span> Just to be clear: the EFI image would be the rootfs + kernel that the user would flash on one partition of their main storage?</p><p>We can&#39;t have full disk images unless the board has u-boot flashed in an SPI memory, right?</p><p>In any case, good luck, this will also help <a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a> (the OS part) / boot2ipxe (the firmware part) \o/</p>
Martin Roukala (né Peres)<p><span class="h-card" translate="no"><a href="https://floss.social/@siosm" class="u-url mention">@<span>siosm</span></a></span> Fun and very useful, great work!</p><p>So, if I understand correctly, the container is downloaded and extracted by the current OS, then the initrd will pivot to an overlayfs at boot?</p><p>Did you re-use the container runtime at all? Any possibility to download and extract the container images at boot time, à la <a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a>?</p>
Martin Roukala (né Peres)<p><span class="h-card" translate="no"><a href="https://freeradical.zone/@craftyguy" class="u-url mention">@<span>craftyguy</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@calebccff" class="u-url mention">@<span>calebccff</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@igalia" class="u-url mention">@<span>igalia</span></a></span> Unglamorous changes? Dude, initramfses are SEXY! :ac_heart: </p><p>But why I am not surprised you worked on this :D? Missing <a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a> already?</p>
Martin Roukala (né Peres)<p><a href="https://fosstodon.org/tags/boot2container" class="mention hashtag" rel="tag">#<span>boot2container</span></a> v0.9.9 is out 🥳 </p><p>The new version of this initramfs brings in <a href="https://fosstodon.org/tags/podman" class="mention hashtag" rel="tag">#<span>podman</span></a> 4.3, better flexibility for iface configuration, support for loading containers without registries, and the ability to run fstrim at boot time.</p><p>However, what really excites me about this release is that it should now (net)boots on upstream-supported aarch64 platforms such as the <a href="https://fosstodon.org/tags/raspberrypi" class="mention hashtag" rel="tag">#<span>raspberrypi</span></a> 4, as long as your bootloader is EFI-compatible (tianocore works).</p><p>Get it while it is fresh at <a href="https://gitlab.freedesktop.org/mupuf/boot2container/-/releases/v0.9.9" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">gitlab.freedesktop.org/mupuf/b</span><span class="invisible">oot2container/-/releases/v0.9.9</span></a></p>