<p>I am creating a fresh private node in GCloud where i have a deployment.yml with:</p>
<pre><code>... 
containers:
  - name: print-logs
    image: busybox
    command: &quot;sleep infinity&quot;
</code></pre>
<p>When i review the corresponding POD, I always get this error: &quot;failed to do request: Head <a href="https://registry-1.docker.io/.." rel="nofollow noreferrer">https://registry-1.docker.io/..</a>. timeout&quot;</p>
<p>Full logs:</p>
<pre><code># kubectl describe pod &lt;my_pod&gt;

Warning  Failed     9s                kubelet            Failed to pull image &quot;docker.io/library/busybox:latest&quot;: rpc error: code = Unknown desc = failed to pull and unpack image &quot;docker.io/library/busybox:latest&quot;: failed to resolve reference &quot;docker.io/library/busybox:latest&quot;: failed to do request: Head https://registry-1.docker.io/v2/library/busybox/manifests/latest: dial tcp 3.220.36.210:443: i/o timeout
Warning  Failed     9s                kubelet            Error: ErrImagePull
</code></pre>
<p>Custer settings:</p>
<pre><code>gcloud container clusters create test-cluster \
                --preemptible \
                --enable-ip-alias \
                --enable-private-nodes \
                --machine-type n1-standard-2 \
                --zone europe-west4-a \
                --enable-cloud-logging \
                --enable-cloud-monitoring \
                --create-subnetwork name=main-subnet \
                --master-ipv4-cidr 172.16.0.32/28 \
                --no-enable-master-authorized-networks \
                --image-type COS_CONTAINERD
</code></pre>
<p>Please help me.</p>

<p>First connect into the cluster using[link]</p>
<pre><code>gcloud container clusters get-credentials NAME [--internal-ip] [--region=REGION     | --zone=ZONE, -z ZONE] [GCLOUD_WIDE_FLAG …] 
</code></pre>
<p>And then try to pull the docker image for docker.</p>
<p>For more information you can refer <a href="https://cloud.google.com/sdk/gcloud/reference/container/clusters/get-credentials" rel="nofollow noreferrer">link</a> and <a href="https://cloud.google.com/build/docs/building/build-containers" rel="nofollow noreferrer">this</a>(which explains about Building container images).</p>
<p>For troubleshooting common Container Registry and Docker issues you can refer <a href="https://cloud.google.com/container-registry/docs/troubleshooting" rel="nofollow noreferrer">this</a> doc.</p>
