From Fedora Project Wiki
(Created page with "<!-- Self Contained or System Wide Change Proposal? Use this guide to determine to which category your proposed change belongs to. Self Contained Changes are: * changes to is...")
 
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 27: Line 27:
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->
<!-- A sentence or two summarizing what this change is and what it will do. This information is used for the overall changeset summary page for each release. -->
Produce a new container image that contains as little as possible, but also still provides the ability to install packages from dnf repositories.
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:
<pre>
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
</pre>
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 ==
== Owner ==
Line 58: Line 72:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1421688 1421688]
 
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 ==
== Detailed Description ==
Line 86: Line 104:
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->


* Release engineering: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: Will need to add the new container image to the existing scripts that generate Fedora's images. <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  
Please work with releng prior to feature submission, and ensure that someone is on board to do any process development work and testing; don't just assume that a bullet point in a change puts someone else on the hook.-->
Please work with releng prior to feature submission, and ensure that someone is on board to do any process development work and testing; don't just assume that a bullet point in a change puts someone else on the hook.-->
** [[Fedora_Program_Management/ReleaseBlocking/Fedora{{FedoraVersionNumber|next}}|List of deliverables]]: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
** [[Fedora_Program_Management/ReleaseBlocking/Fedora{{FedoraVersionNumber|next}}|List of deliverables]]: New Minimal Container Image <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Please check the list of Fedora release deliverables and list all the differences the feature brings -->
<!-- Please check the list of Fedora release deliverables and list all the differences the feature brings -->


Line 118: Line 136:
3. What are the expected results of those actions?
3. What are the expected results of those actions?
-->
-->
Install a fresh docker, make sure the default storage is on overlay,if installing on atomic host or Fedora Server, make sure the overlay file system is setup on a different partion, and it mounted after a reboot.
 
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.
Make sure you can switch from overlay2 back to devicemapper using atomic storage commands.
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
N/A (not a System Wide Change)  
N/A (not a System Wide Change)


== User Experience ==
== User Experience ==
Line 158: Line 178:
-->
-->


[[Category:ChangeReadyForFesco]]
[[Category:ChangeAcceptedF26]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Latest revision as of 21:57, 24 April 2017

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