<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: jhohny</title>
    <description>The latest articles on DEV Community by jhohny (@jhohny).</description>
    <link>https://dev.to/jhohny</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F77731%2F69569e6b-e678-4141-b12d-a015fdc3be69.jpeg</url>
      <title>DEV Community: jhohny</title>
      <link>https://dev.to/jhohny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jhohny"/>
    <language>en</language>
    <item>
      <title>Docker for silicon M1/M2/M3 Chips</title>
      <dc:creator>jhohny</dc:creator>
      <pubDate>Tue, 09 Jan 2024 16:40:59 +0000</pubDate>
      <link>https://dev.to/jhohny/docker-for-silicon-m1m2m3-chips-12cn</link>
      <guid>https://dev.to/jhohny/docker-for-silicon-m1m2m3-chips-12cn</guid>
      <description>&lt;p&gt;&lt;strong&gt;Installing Desktop App for Silicon Ships&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://docs.docker.com/desktop/install/mac-install/"&gt;Docker Desktop&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Open the Desktop App settings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to the "Features in development" section.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enable "Use Rosetta for x86/amd64 emulation on Apple Silicon."&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Docker Commands:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When using &lt;code&gt;docker-compose build&lt;/code&gt;, ensure you specify the platform to avoid Docker building the image based on the local system platform. Use the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;DOCKER_DEFAULT_PLATFORM&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;linux/amd64 docker-compose build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>docker</category>
      <category>m1</category>
      <category>m2</category>
      <category>m3</category>
    </item>
  </channel>
</rss>
