title: Apache Beam: Error syncing pod - executable file not found in $PATH
body: <h3>Setup</h3>
  <p>I currently have</p>
  <ul>
  <li>A basic apache beam pipeline in python</li>
  <li>An SDK image being build for the pipeline environment.  Using Dockerfile and dependencies managed using poetry.
  <ul>
  <li>Docker base image is <code>apache/beam_python3.8_sdk:2.32.0</code></li>
  <li>Using apache-beam version 2.30.0 in my project and in my SDK container</li>
  </ul>
  </li>
  </ul>
  <p>Deploying via CircleCI using the following:</p>
  <pre class="lang-py prettyprint-override"><code>python3.8 src/ingest/main.py \
    --project=&lt;&lt;parameters.project_id&gt;&gt; \
    --region=&lt;&lt;parameters.region&gt;&gt; \
    --input_subscription=&lt;subscription_name&gt; \
    --runner=DataflowRunner \
    --temp_location=gs://&lt;&lt;parameters.dataflow_bucket&gt;&gt;/temp \
    --template_location=gs://&lt;template_location&gt; \
    --service_account_email=&lt;&lt;parameters.service_account_email&gt;&gt; \
    --sdk_container_image=&lt;sdk_image&gt;
  </code></pre>
  <h3>Problem</h3>
  <p>The dataflow job is deployed successfully and can be found in the GCP console.  When spinning up a worker, however, I get the following error:</p>
  <pre><code>&quot;Error syncing pod &lt;id&gt; (&quot;&lt;pod_name&gt;&quot;), skipping: [failed to &quot;StartContainer&quot; for &quot;sdk0&quot;
  with RunContainerError: &quot;failed to start container \&quot;&lt;hash&gt;\&quot;: Error response from daemon: OCI runtime 
  create failed: container_linux.go:380: starting container process caused: 
  exec: \&quot;--logging_endpoint=localhost:12370\&quot;: executable file not found in $PATH: unknown&quot;, failed to 
  &quot;StartContainer&quot; for &quot;sdk1&quot; with RunContainerError: &quot;failed to start container \&quot;&lt;hash&gt;\&quot;: Error response 
  from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: 
  exec: \&quot;--logging_endpoint=localhost:12370\&quot;: executable file not found in $PATH: unknown&quot;]&quot;
  </code></pre>
  <h3>Thoughts</h3>
  <p>We are using this exact same approach in another project which seems to be working fine.</p>
  <p>I've seen the</p>
  <pre><code>executable file not found in $PATH
  </code></pre>
  <p>in docker before and want to find out how to view the docker specific logs in GCP to help troubleshoot.</p>
  <p>Currently, to view logs, I'm clicking the error message in the Dataflow console, which takes me to an Error Reporting page.<br />
  <a href="https://i.stack.imgur.com/uMPUc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uMPUc.png" alt="enter image description here" /></a></p>
  <p>From there I'm clicking <code>View Logs</code> which takes me to the <code>Logs Explorer</code>
  <a href="https://i.stack.imgur.com/BI1ov.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BI1ov.png" alt="enter image description here" /></a></p>
  <h3>What I'm looking for</h3>
  <ul>
  <li>How to find docker specific (or at least, more detailed) logs, if possible.</li>
  <li>Any insight in to what is going on.</li>
  </ul>
  <p>I'm newer to Dataflow so hoping I just missed something simple.  Let me know if you need more info.</p>