-
Notifications
You must be signed in to change notification settings - Fork 1
3. Known issues
Note
|
The development of this solution has moved to devonfw-forge/podman-minikube. This repository will remain available some time to avoid broken links. |
PS > podman images Error: failed to create sshClient: Connection to bastion host (ssh://[email protected]:22/run/podman/podman.sock) failed.: dial tcp 172.27.217.19:22: i/o timeout
Possible causes:
-
Minikube VM is shut down, use
minikube status
to see the state of the VM. If it is stopped, useminikube start
. If it is started, see next possible cause. -
Minikube VM has been restarted, when restarting the VM got a new IP, but Podman tries to connect to old IP. You can load again the Powershell profile to get it configured correctly with
& $PROFILE
. -
You are connected to the VPN, which makes VM unreachable. There is currently no solution to this apart from disconnecting from the VPN.
In some cases you might get an error when pulling images from a repository because the certificate is not recognized.
Solution: Modify the registries.conf
file (located at %APPDATA%\podman-2.2.1\conf
).
Initially, the file content should look like this:
[registries.search]
registries = ['docker.io']
[registries.insecure]
registries = ['']
To authorize connection to another repository you have to add it to the list (in this example we authorized two registries):
[registries.search]
registries = ['docker.io']
[registries.insecure]
registries = ['registry.example']
insecure=false
registries = ['registry2.example2']
insecure=false
Then, execute the command copy_registry_conf
. If you ever minikube stop
and minikube start
, you will need to execute the command again.