Podman pull behaviour different between podman pull
and podman run
#12410
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Running
podman run 10.0.2.2:5000/library/postgres:11
returnsError: initializing source docker://10.0.2.2:5000/library/postgres:11: pinging container registry 10.0.2.2:5000: Get "https://10.0.2.2:5000/v2/": http: server gave HTTP response to HTTPS client
even though I've configured the source as insecure. Running the exact same command but changingrun
topull
works correctly.Steps to reproduce the issue:
Setup an insecure registry that doesn't support HTTPS or has an insecure HTTPS configuration
Run an image in this registry via
podman run
Fetch the image via
podman pull
Describe the results you received:
The image is not fetched in the
podman run
command but subsequently downloads correctly inpodman pull
Describe the results you expected:
The image download is the same whether implicit or explicit.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes, adding
--tls-verify=false
works around the issueAdditional environment details (AWS, VirtualBox, physical, etc.):
QEMU Fedora CoreOS
The text was updated successfully, but these errors were encountered: