I am trying to run the dagger node sdk from within a docker in docker Jenkins agent on EKS, but get network issues pulling the docker image when I run my node script. Pulling the docker image via docker pull right before the script works fine, but running the script after fails on pulling the image. Wondering if anyone has seen this before?
1.13-12.1675790156: Pulling from ubi9/openjdk-17
Digest: sha256:1478fc79fbf7a8445201b62ce8e37b57a4913c16545f71a288a7fb0fa6a1639e
Status: Image is up to date for registry.access.redhat.com/ubi9/openjdk-17:1.13-12.1675790156
+ node --loader ts-node/esm ./test-with-checks.mts
(node:202) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Setting commit status to PENDING
GraphQLRequestError: Error message
at file:///home/jenkins/agent/workspace/QA-Test/DynamicLinks/node_modules/@dagger.io/dagger/dist/api/utils.js:121:23
at Generator.throw (<anonymous>)
at rejected (file:///home/jenkins/agent/workspace/QA-Test/DynamicLinks/node_modules/@dagger.io/dagger/dist/api/utils.js:5:65)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: ClientError: failed to do request: Head "https://registry.access.redhat.com/v2/ubi9/openjdk-17/manifests/1.13-12.1675790156": dial tcp: lookup registry.access.redhat.com on 10.140.0.2:53: dial udp 10.140.0.2:53: connect: network is unreachable: {"response":{"data":null,"errors":[{"message":"failed to do request: Head \"https://registry.access.redhat.com/v2/ubi9/openjdk-17/manifests/1.13-12.1675790156\": dial tcp: lookup registry.access.redhat.com on 10.140.0.2:53: dial udp 10.140.0.2:53: connect: network is unreachable","locations":[{"line":2,"column":24}],"path":["container","from"]}],"status":200,"headers":{}},"request":{"query":"\n { container { from (address: \"registry.access.redhat.com/ubi9/openjdk-17:1.13-12.1675790156\")