Fix podman cannot pull image due to certificate is not yet valid in MacOS
Problem
I try to pull docker image using podman but I found an error as shown below.
Solution
The clue for this solution is the current time. The time shown in the error is the time of podman virtual machine. Let's take a look at that virtual machine.
First shell into podman virtual machine. Note I have only a single virtual machine for podman.
podman machine ssh
Secondly, check the current time of this machine.
It seems like the current time is behind the actual current time.
I try to restart timesyncd with the following command.
sudo systemctl restart systemd-timesyncd.service
The actual current time is now correct.
However, after researching for this solution, I found this problem is an open bug of podman. Hope it will be able to replace docker completely soon.
Here is a link to the issue.
Follow us @
Facebook : H LAB Modern cloud-based healthcare platform | Facebook
Website : ระบบโรงพยาบาล | H LAB consulting | Bangkok
Interested in working with us?
Please Visit : หางาน สมัครงาน ที่ H LAB | Blognone Jobs
or email us @ recruit@hlabconsulting.com