Access from the dockerd container to AWS ECR container image registry #2031
sysarch-repo
started this conversation in
General
Replies: 1 comment
-
This can be an enhancement request in https://github.com/cnti-testcatalog/testsuite/issues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How shall the testsuite be set up so that the dockerd process can communicate to AWS ECR. Currently the requests to AWS ECR are failing because of the missing login credentials. Example:
✖️ FAILED: Image size too large 🦖 ⚖👀
E, [2024-05-08 23:15:11 +00:00 #173348] ERROR -- cnf-testsuite-reasonable_image_size: invalid compressed_size: XXXXXXXXXXX.dkr.ecr.XXXXXXX.amazonaws.com/sysarch/dns:24.03.0 = '', Invalid Int64: ""
I am currently using the following workaround before triggering the AUT setup:
With this, the container image size is passed as the dockerd process can communicate with the registry for the duration of the validity of the provided token.
I could even install the https://github.com/awslabs/amazon-ecr-credential-helper on the AWS worker nodes but also then I would need to set up the config.json in the dockerd container space to utilize the helper which would basically be just another workaround?
Beta Was this translation helpful? Give feedback.
All reactions