#3216 Change: DNF and bootc in Image Mode Fedora variants
Closed: Accepted 10 months ago by sgallagh. Opened 11 months ago by amoloney.

Enhance the image-mode Fedora user experience by providing familiar DNF commands on client side and inside a container image build. Provide DNF5 alongside rpm-ostree while we slowly port functionality from rpm-ostree to DNF5.

DNF5 can be used in most cases during container builds (Containerfile/Dockerfiles) for a familiar UX. Initially DNF will point users to use rpm-ostree on a booted image-based/ostree system.

For Fedora 41, we will provide DNF5 on image-based Fedora variants (Atomic desktops, Fedora IoT, etc). We will update all layering examples to use dnf during build time when possible. Additionally to DNF we will still provide rpm-ostree as the main tool for package layering on the client side and bootc to manage transactional, in-place operating system updates using OCI/Docker container images.

DNF5 will provide a helpful error when running on an ostree/image-based booted system pointing to use rpm-ostree or to unlock the system.

This work is part of the Fedora Bootable Containers Initiative.

Owners, do not implement this work until the FESCo vote has explicitly ended.
The Fedora Program Manager will create a tracking bug in Bugzilla for this Change, which is your indication to proceed.
See the FESCo ticket policy and the Changes policy for more information.

REMINDER: This ticket is for FESCo members to vote on the proposal. Further discussion should happen in the devel list thread linked above.


I'm concerned about the conspicuous missing information on client-side layering...

The Change page is a bit light on details. The best description of the planned changes is probably this part:

  1. DNF5 is included on image-based/ostree Fedora variants.
  2. DNF5 is updated to point users to rpm-ostree on booted client systems when invoked.
  3. rpm-ostree features will start being ported to DNF5.
  4. We support deriving new user custom images from image-based Fedora images and installing software using DNF during builds.
  5. We ship bootc on all Fedora image-based variants.

1, 2, and 5 are small changes (though with a large impact). I understand 3 as a general direction of future work. 4 is a new feature available for users, we probably want to add some documentation for this. Altogether, this seems quite reasonable.

+1

After a week:
APPROVED (+5, 0, 0)

Metadata Update from @zbyszek:
- Issue tagged with: pending announcement

10 months ago

Metadata Update from @sgallagh:
- Issue close_status updated to: Accepted
- Issue status updated to: Closed (was: Open)

10 months ago

Log in to comment on this ticket.

Metadata