Replies: 5 comments
-
Are you behind a HTTPS proxy that intercepts all requests and needs its own cert? |
Beta Was this translation helpful? Give feedback.
-
This is on my work laptop, so that is a possibility, however I am able to pull the same images when using docker CLI command. I will ask around tomorrow to see if other people have had the same problem or not. |
Beta Was this translation helpful? Give feedback.
-
ok so I ran I'm guessing that the Podman VM does not contain this cert, but still goes through my local machine to go to the internet, and therefore Podman is unhappy with this custom cert. I'm tried using Buildkit and I get the same results. I see in Buildkit that you can specify some certFilePath's, I don't know if there is something similar in Podman or not, so I'm going to try with Buildkit and see what I can do. Can someone please advise or point me to some docs that explain how to exec into the Podman VM or the command flags needed to spin up the Podman VM with custom certs on the localhost system? |
Beta Was this translation helpful? Give feedback.
-
The link I gave you should shows the steps the first command is |
Beta Was this translation helpful? Give feedback.
-
I thought I added a comment + closed the issue this was originally from, but I guess not. Whoops! Just wanted to finalise this and say, yes it was a company networking cert issue. I've raised it to relevant people within my company, and learnt how to add certs to Podman, but if you have these sort of issues, it's probably a company networking thing. Thanks for your help @Luap99 ! I will close this now (as I thought I closed the issue before, but clearly I didn't) |
Beta Was this translation helpful? Give feedback.
-
Issue Description
I have used Podman in the past before and didn't encounter this issue.
I switched back to using Docker for some reason because I needed to use docker-compose and it wasn't working out of the box with Podman. Anyway, I have tried to use Podman again, but I am unable to pull even official images from Dockerhub due to an X509 certificate issue.
So all I have done is update Podman to latest version and tried to pull
node:latest
Steps to reproduce the issue
Steps to reproduce the issue
podman -v
output ispodman version 5.3.1
)podman pull node:latest
(or attempt to pull some other iamge from dockerhub). I have also the the full namepodman pull docker.io/library/node:latest
.Describe the results you received
Here is the output of when I run
podman pull node:latest --log-level=debug
:Judging from this output, I am missing some Dockerhub auth somewhere, but I'm not sure where exactly. You can see that podman is picking up some creds for AWS accounts, but that is not related to this as it is just going to Dockerhub.
Also, I would expect the error message to indicate my authentication is bad, not that the certificate is signed by an unknown author.
I am able to pull this image using
docker pull node:latest
, so this is just a problem with my podman setup.Describe the results you expected
For podman to pull the latest node image successfully and be able to connect to Dockerhub
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Apple M1 Pro, Sequoia 15.1.1
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions