<?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>10454</bug_id>
          
          <creation_ts>2016-10-18 20:33:33 +0000</creation_ts>
          <short_desc>support the multiple containers working off 1 volume model</short_desc>
          <delta_ts>2026-02-12 16:51:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>CROPS</product>
          <component>crops-default</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <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>67340</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2016-10-18 20:33:33 +0000</bug_when>
    <thetext>This requires:
extsdk &amp; toaster container:
  add --rootdir and --workdir
example usage:
$docker run --rm -it -v myOneVolume:/external poky/toaster --rootdir=/external --workdir=toaster-release
so you could also do:
$docker run --rm -it -v myOneVolume:/external poky/toaster-master --rootdir=/external --workdir=toaster-master
and:
$docker run --rm -it -v myOneVolume:/external poky/extsdk-container --rootdir=/external --workdir=esdk
---
For advanced usage also support:
$docker run --rm -it -v myOneVolume:/COW poky/toaster --rootdir=&apos;&apos; --workdir=/COW
in case they need an abs path for some reason

---
for the poky container:
 just keep the workdir argument ad an absolute path since the poky container is not adding any files and is just using the workdir to determine the uid/gid

----
If the dir is not there, error.
----</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69458</commentid>
    <comment_count>1</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2017-01-03 22:04:06 +0000</bug_when>
    <thetext>Since 9502 was M1(Hight) and moved to M2, I don&apos;t think this should take precedence over it. This should probably be moved to M2 as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75465</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-07-30 13:33:29 +0000</bug_when>
    <thetext>Moving to M3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78619</commentid>
    <comment_count>3</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 21:49:30 +0000</bug_when>
    <thetext>Moving to Joshua .

In case the examples (which outline the solution more than the problem) aren&apos;t clear. The goal of this enhancement is to allow more than 1 container to feed off of one docker volume.  Right now, when you do a mount of a volume into the container, the extsdk and toaster containers do not have a way to work from a subdirectory of the mounted volume.  This enhancement would introduce an additional command line option to separate the externally mounted volume from the working subdirectory.  This is important in these cases because both the toaster and extsdk containers create files at the top of the working directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78620</commentid>
    <comment_count>4</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 21:50:08 +0000</bug_when>
    <thetext>resetting to Joshua</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93388</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-06-02 15:27:25 +0000</bug_when>
    <thetext>Tim, Help us understand this if you have time for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96778</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:17 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104277</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-12 16:51:50 +0000</bug_when>
    <thetext>Bumping to 6.99. This depends on the fate of CROPS and whether the new container workflow enabled recently in meta-virtualization becomes the new way to support containers (including &quot;build&quot; containers) for the Yocto Project.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>