Skip to content

How to pass credentials in Podman? #1569

@onuch-v

Description

@onuch-v

Hello!

I can't pass the environment variable REGISTRY_AUTH_FILE with authorization information for Podman.
Are there any other methods to do this?

update.
I use mock with a private registry on Sonatype Nexus, and my server does not support the anonymous command podman pull, which is used in mock. How to pass credentials in Podman?
I added my local user to the mock group by usermod, but it did not resolve my problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions