From Fedora Project Wiki

Self Contained Change: This change will only affect new users who use the new image.


Container Minimal Image

Summary

Produce a new container image that contains as little as possible, but also still provides the ability to install packages from dnf repositories.

Builds for Fedora 26 Alpha can be found here: http://dl.fedoraproject.org/pub/fedora/linux/releases/test/26_Alpha/

Koji builds: https://koji.fedoraproject.org/koji/packageinfo?packageID=23806

Example:

curl http://dl.fedoraproject.org/pub/fedora/linux/releases/test/26_Alpha/Docker/x86_64/images/Fedora-Container-Minimal-Base-26_Alpha-1.7.x86_64.tar.xz | docker load
docker run --rm -ti fedora-container-minimal-base-26_alpha-1.7.x86_64 bash
microdnf install httpd

Currently, builds of this are not automatically pushed to any registry. The plan however is for this to be regularly updated once Fedora 26 final is released.

Owner

  • Email: dusty@dustymabe.com
  • Release notes owner:
  • Product: New Minimal Container Image

Current status

You can find builds here: https://koji.fedoraproject.org/koji/packageinfo?packageID=23806

Note that the build is currently flaky: https://bugzilla.redhat.com/show_bug.cgi?id=1421688#c7

Detailed Description

As a user of Fedora I'd like to build containers based on an image that is a little more lightweight than the current base container image that is produced in Fedora. We have a proof of concept kickstart [1] that will create such an image. It is a work in progress.

[1] https://pagure.io/fedora-kickstarts/pull-request/120


Benefit to Fedora

More options for users who want to build containers based on Fedora.


Scope

  • Proposal owners: Implementation of this Change
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: Will need to add the new container image to the existing scripts that generate Fedora's images.
  • Policies and guidelines: N/A (not a System Wide Change)
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

Pull new container image and build other images based on this image and see how it works.

Make sure you can switch from overlay2 back to devicemapper using atomic storage commands. N/A (not a System Wide Change)

User Experience

N/A (not a System Wide Change) Users should not notice the change other then if they use the docker or atomic CLI to examine the storage.

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

Documentation

N/A (not a System Wide Change)

Release Notes

Category:ChangeReadyForWrangler