Skip to content

Conversation

@sebsto
Copy link
Collaborator

@sebsto sebsto commented Nov 28, 2025

Description

Adds documentation for Docker credential store errors that users may encounter when running swift package archive --allow-network-connections docker.

Changes

  • Added a note in readme.md explaining how to resolve Docker credential store errors
  • Added a note in Sources/AWSLambdaRuntime/Docs.docc/Deployment.md with the same guidance

Problem

Users may encounter authentication errors when the Swift package plugin attempts to pull Docker images, particularly when Docker is configured with a credential store (e.g., docker-credential-desktop). This issue is documented in #609.

Solution

The documentation now provides two workarounds:

  1. Remove the credsStore entry from ~/.docker/config.json
  2. Use the --disable-sandbox flag with the archive command

Both notes link to issue #609 for additional context and discussion.

Related Issue

Fixes #609

@sebsto sebsto self-assigned this Nov 28, 2025
@sebsto sebsto added area/documentation Improvements or additions to documentation. semver/none No version bump required. labels Nov 28, 2025
@sebsto sebsto merged commit 4378355 into main Nov 28, 2025
42 checks passed
@sebsto sebsto deleted the sebsto/609 branch November 28, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Improvements or additions to documentation. semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[archive plugin] Getting credentials error when updating "swift:amazonlinux2" docker image on macOS

1 participant