We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62fba62 commit 6f7442eCopy full SHA for 6f7442e
templates/al2023/provisioners/install-nodeadm.sh
@@ -10,7 +10,7 @@ sudo systemctl start containerd
10
if [[ "$BUILD_IMAGE" == *"dkr.ecr"* ]]; then
11
# nerdctl needs the https:// prefix when logging in to the repository
12
# see: https://github.com/containerd/nerdctl/issues/742
13
- aws ecr get-login-password --region $AWS_REGION | nerdctl login --username AWS --password-stdin "https://${BUILD_IMAGE%%/*}"
+ aws ecr get-login-password --region $AWS_REGION | sudo nerdctl login --username AWS --password-stdin "https://${BUILD_IMAGE%%/*}"
14
fi
15
16
sudo nerdctl run \
0 commit comments