Skip to content

nerdctl login will save whatever credentials is being provided when a registry does NOT ask for authentication #3070

@apostasie

Description

@apostasie

Description

Title says all

Steps to reproduce the issue

  1. Start a registry with no authentication
  2. nerdctl login against it

Describe the results you received and expected

Bogus credentials have been saved (and will be used moving forward).

It seems to me like a lot of our login issues could be solved with a preflight request.

What version of nerdctl are you using?

1.7.6

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions