-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Describe the bug
Environment
- macOS: 26.1
- Swift: swift-6.2.1-RELEASE
- Docker Desktop: 4.52.0 (210994) | 4.53.0 (211793)
- swift-aws-lambda-runtime: main
When archiving Lambda, Docker fails to pull the required image:
swift package archive --allow-network-connections docker
-------------------------------------------------------------------------
building "pawbox-lambdas" in docker
-------------------------------------------------------------------------
updating "swift:amazonlinux2" docker image
error getting credentials - err: exit status 1, out: `One or more parameters passed to the function were not valid. (-50)`
error: /usr/local/bin/docker pull swift:amazonlinux2 failed with code 1
However, running the same command manually in Terminal works:
docker pull swift:amazonlinux2
Expected Behavior
swift package archive --allow-network-connections docker
should be able to successfully pull the required Docker image (e.g. swift:amazonlinux2) and complete the Lambda archive process.
Current Behavior
When archiving Lambda, Docker fails to pull the required image:
swift package archive --allow-network-connections docker
-------------------------------------------------------------------------
building "pawbox-lambdas" in docker
-------------------------------------------------------------------------
updating "swift:amazonlinux2" docker image
error getting credentials - err: exit status 1, out: `One or more parameters passed to the function were not valid. (-50)`
error: /usr/local/bin/docker pull swift:amazonlinux2 failed with code 1
Reproduction Steps
- Update to the latest Docker Desktop (macOS 26.1, Docker Desktop: 4.52.0 (210994) or 4.53.0 (211793));
- In a Swift AWS Lambda project, run:
swift package archive --allow-network-connections docker.
Possible Solution
No response
Additional Information/Context
No response
AWS SWIFT SDK version used
swift-aws-lambda-runtime 2.4.0 (main-branch)
Compiler and Version used
swift-6.2.1-RELEASE or Xcode 26.1.1
Operating System and version
macOS 26.1
Metadata
Metadata
Assignees
Labels
No labels