<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using Docker In Yocto in S32G</title>
    <link>https://community.nxp.com/t5/S32G/Using-Docker-In-Yocto/m-p/1574945#M1871</link>
    <description>&lt;P&gt;My middleware software can be&amp;nbsp;compiled in Docker, I can build it with a bash files, which contains serveral docker commands and make... Now I want to build it using Yocto.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20221227-221010.jpg" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205537iF9ED8551BECEF9EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="20221227-221010.jpg" alt="20221227-221010.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First I build the recipe it for&amp;nbsp; and write its .bb&amp;nbsp; files, and Everything seems to be OK. But when I add the command "./build.sh -t&amp;nbsp; s32g" in do_install() functions. Bitbake shows a mistake as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie_Zhou_0-1672150672296.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205538iF2D455BC7F580D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie_Zhou_0-1672150672296.png" alt="Jackie_Zhou_0-1672150672296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I can run docker in bash. Can anyboby tell me why docker cann'&lt;SPAN&gt;t be found in Yocto. Thanks a lot !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20221227-222320.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205541iF0AC0786F2020241/image-size/large?v=v2&amp;amp;px=999" role="button" title="20221227-222320.jpg" alt="20221227-222320.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2022 14:24:55 GMT</pubDate>
    <dc:creator>Jackie_Zhou</dc:creator>
    <dc:date>2022-12-27T14:24:55Z</dc:date>
    <item>
      <title>Using Docker In Yocto</title>
      <link>https://community.nxp.com/t5/S32G/Using-Docker-In-Yocto/m-p/1574945#M1871</link>
      <description>&lt;P&gt;My middleware software can be&amp;nbsp;compiled in Docker, I can build it with a bash files, which contains serveral docker commands and make... Now I want to build it using Yocto.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20221227-221010.jpg" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205537iF9ED8551BECEF9EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="20221227-221010.jpg" alt="20221227-221010.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First I build the recipe it for&amp;nbsp; and write its .bb&amp;nbsp; files, and Everything seems to be OK. But when I add the command "./build.sh -t&amp;nbsp; s32g" in do_install() functions. Bitbake shows a mistake as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jackie_Zhou_0-1672150672296.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205538iF2D455BC7F580D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jackie_Zhou_0-1672150672296.png" alt="Jackie_Zhou_0-1672150672296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I can run docker in bash. Can anyboby tell me why docker cann'&lt;SPAN&gt;t be found in Yocto. Thanks a lot !!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20221227-222320.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205541iF0AC0786F2020241/image-size/large?v=v2&amp;amp;px=999" role="button" title="20221227-222320.jpg" alt="20221227-222320.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 14:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Using-Docker-In-Yocto/m-p/1574945#M1871</guid>
      <dc:creator>Jackie_Zhou</dc:creator>
      <dc:date>2022-12-27T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using Docker In Yocto</title>
      <link>https://community.nxp.com/t5/S32G/Using-Docker-In-Yocto/m-p/1579317#M1928</link>
      <description>&lt;P&gt;Hi Jackie&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;By default docker is not found in build environment of yocto. as default yocto not uses local path in build environment. I am not aware how your script (build.sh) implemented or complex.for quick you can try with export PATH variable in your build.sh.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;#! /bin/bash&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;export PATH=/usr/bin:$PATH&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;or you can implement docker command with full path in your script as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color="#339966"&gt;/usr/bin/docker &amp;lt;argument&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;You can find more details on docker and yocto community support.&lt;/FONT&gt;&lt;FONT color="#333333"&gt; I &lt;/FONT&gt;had created a small script which used docker command and built with a recipe, its was not giving such type of error. Hope this will help you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regard ,&lt;/P&gt;
&lt;P&gt;Tushar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Using-Docker-In-Yocto/m-p/1579317#M1928</guid>
      <dc:creator>nxf92355</dc:creator>
      <dc:date>2023-01-09T12:49:35Z</dc:date>
    </item>
  </channel>
</rss>

