<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9503</bug_id>
          
          <creation_ts>2016-04-21 16:24:57 +0000</creation_ts>
          <short_desc>Add a way to add docker metadata to container images</short_desc>
          <delta_ts>2020-06-25 08:15:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          <dependson>9502</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Randy Witt">randy.e.witt</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>brian.avery</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>ee.peng.yeoh</cc>
    
    <cc>henry.bruce</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61519</commentid>
    <comment_count>0</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-04-21 16:24:57 +0000</bug_when>
    <thetext>Once 9502 is finished, a further extension to that would be the ability to add docker metadata to the container image.

docker metadata are items such as ENTRYPOINT, repo, imagename, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73006</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2017-05-03 16:19:28 +0000</bug_when>
    <thetext>At some point you&apos;ve buried too much information into build meta-data, and is really isn&apos;t a flexible way to encode this sort of thing.

Having done a lot of work with OCI (you should reference that, and not docker) and the configuration/launch of those containers, having that information as part of the build system really isn&apos;t all that useful.

The configuration needs to be changed/modified tweaked at runtime via the container tooling anyway.

See meta-overc if you are interested in the types of tweaks that I&apos;m talking about and how they would be hard to apply to build meta-data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73428</commentid>
    <comment_count>2</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-05-22 20:52:49 +0000</bug_when>
    <thetext>To help clarify requirement, imagine a solution involving multiple containers running on a host OS communicating over an agreed protocol. This bug refers to building one (or more) of these containers, not the host OS or deciding what runs in which containers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73437</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2017-05-23 00:39:54 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; To help clarify requirement, imagine a solution involving multiple
&gt; containers running on a host OS communicating over an agreed protocol. This
&gt; bug refers to building one (or more) of these containers, not the host OS or
&gt; deciding what runs in which containers.

That actually doesn&apos;t clarify very much.

Building a container is trivial, binary output of an app + dependencies, or an image + no ability to boot.

Having container meta data is not the business of any build system, since it is completely variable at runtime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75463</commentid>
    <comment_count>4</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-07-30 13:32:17 +0000</bug_when>
    <thetext>Moving to M3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78616</commentid>
    <comment_count>5</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 21:38:17 +0000</bug_when>
    <thetext>moving this future item to unassigned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79943</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-03-22 16:13:41 +0000</bug_when>
    <thetext>This should follow the OCI &quot;labels&quot; or &quot;annotations&quot; metadata format:
https://github.com/opencontainers/image-spec/blob/master/annotations.md</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79944</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-03-22 16:14:45 +0000</bug_when>
    <thetext>This is important for the eclipse-yocto plugin development in process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87593</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2020-06-25 08:15:31 +0000</bug_when>
    <thetext>This basically breaks when a container is hosted on Docker hub as any custom metadata will be stripped. It is also part of a design direction that has been abandoned.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>