<?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>question Re: We got an error &amp;quot;standard_init_linux.go:207: exec user process caused &amp;quot;exec format error&amp;quot;&amp;quot;. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/We-got-an-error-quot-standard-init-linux-go-207-exec-user/m-p/238639#M200450</link>
    <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="http://@chetan%20gehlot" target="_blank"&gt;&lt;EM&gt;@chetan gehlot&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The problem was indeed that Docker image files are architecture specific (at least the default ones). So a Docker file built on Intel will only work on Intel, and a Docker file build for Arm32 will only work for Arm32.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It seems there are ways to build an Arm build on an Intel device but that would still leave you with distributing two separate images. And if you have a physical Arm device it is much easier to build an Arm image directly on an Arm device.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You also need to make sure your base image supports your architecture, but the official one has now been built as multi-arch images so this is not usually a problem.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Another related problem and solution: &lt;CODE&gt;standard_init_linux.go:207&lt;/CODE&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In case your entry point is bash script check whether it contains correct shebang, something like that:&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;&lt;CODE&gt;#!/usr/bin/env bash &lt;/CODE&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;CODE&gt;make -f /app/makefile $@
&lt;/CODE&gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Also, have a look at &lt;A href="https://stackoverflow.com/questions/51508150/standard-init-linux-go190-exec-user-process-caused-no-such-file-or-directory"&gt;standard_init_linux.go:190: exec user process caused "no such file or directory" - Docker&lt;/A&gt;, might be related too.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Apr 2019 13:12:53 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-04-19T13:12:53Z</dc:date>
  </channel>
</rss>

