Skip to content

can't pull image from http registry using podman #1583

@k19810703

Description

@k19810703

I edited config file as below, added private insecure registry.

$ cat /etc/containers/registries.conf
[[registry]]
prefix = "9.197.12.29:5000"
location = "9.197.12.29:5000"
insecure = true

When I use podman to pull image , got below error

podman pull 9.197.12.29:5000/myimage
Trying to pull 9.197.12.29:5000/myimage:latest...
Error: initializing source docker://9.197.12.29:5000/myimage:latest: pinging container registry 9.197.12.29:5000: Get "https://9.197.12.29:5000/v2/": http: server gave HTTP response to HTTPS client

Any advice to fix that.

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