Skip to content

Conversation

@diegolatorre16
Copy link
Contributor

  • chore: clarify image auth warning message for public images

What does this PR do?

This PR updates the log message shown when Docker image authentication credentials are not found during an image pull.
The new message clarifies that missing credentials is expected for public images and is not a critical error.
No functional or behavioral changes are introduced; only the log output is improved for clarity.

Why is it important?

The previous log message used the word "Failed", which could be interpreted as a critical error by users, even though missing credentials is normal for public images.
This change helps avoid confusion and reduces unnecessary concern for users pulling public images, improving the developer experience and log readability.

Related issues

@diegolatorre16 diegolatorre16 requested a review from a team as a code owner July 3, 2025 03:50
@netlify
Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit d840e6d
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-go/deploys/68662f0fc4ad2400088fbc0f
😎 Deploy Preview https://deploy-preview-3228--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@stevenh stevenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one have seen this and thought the same on many occasions, thanks for the PR

@mdelapenya mdelapenya self-assigned this Jul 3, 2025
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label Jul 3, 2025
Copy link
Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you so much for this tiny but important fix!

We have had this around for long time, and now it's fixed, I really appreciate your time here 🙇

@mdelapenya mdelapenya merged commit 295ba91 into testcontainers:main Jul 3, 2025
397 of 398 checks passed
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Jul 4, 2025
* main:
  chore: clarify image auth warning message for public images (testcontainers#3228)
  chore(deps): bump github.com/go-viper/mapstructure/v2 (testcontainers#3219)
  chore(deps): bump github/codeql-action from 3.28.16 to 3.29.2 (testcontainers#3222)
  chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (testcontainers#3225)
  deps: update testcontainers/sshd image to 1.3.0 (testcontainers#3220)
  chore(deps): bump urllib3 from 2.2.2 to 2.5.0 (testcontainers#3214)
  deps: gopsutil and purego update (testcontainers#3217)
  docs: document copy from container (testcontainers#3215)
mdelapenya added a commit that referenced this pull request Jul 31, 2025
…util/v4-4.25.6

* main:
  fix(dockermcpgateway): use duckduckgo instead of brave (#3247)
  feat: add Solace pubsub+ module (#3230)
  feat(options): add WithProvider (#3241)
  chore(deps): bump github/codeql-action from 3.29.2 to 3.29.3 (#3237)
  chore(deps): bump golang.org/x/oauth2 in /modules/weaviate (#3240)
  chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (#3239)
  chore(deps): bump requests from 2.32.0 to 2.32.4 (#3204)
  feat(mcpgateway): add MCP gateway module (#3232)
  chore(deps): bump golang.org/x/oauth2 in /modules/pulsar (#3236)
  chore(deps): bump golang.org/x/oauth2 in /modules/gcloud (#3235)
  chore(deps): bump golang.org/x/oauth2 in /modules/k3s (#3234)
  chore: prepare for next minor development cycle (0.39.0)
  chore: use new version (v0.38.0) in modules and examples
  Update go.mod in azure module (#3231)
  fix: strip headers from logs using log stream specification  (#3226)
  chore: clarify image auth warning message for public images (#3228)
  chore(deps): bump github.com/go-viper/mapstructure/v2 (#3219)
  chore(deps): bump github/codeql-action from 3.28.16 to 3.29.2 (#3222)
  chore(deps): bump mkdocs-include-markdown-plugin from 7.1.5 to 7.1.6 (#3225)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Changes that do not impact the existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants