1 was installed and configured docker proxy on Nexus host with ip 192.168.0.1
2 on host 192.168.0.2 was installed podman through the Nexus proxy with this config in /etc/containers/registries.conf:
[[registry]]
location=“192.168.0.1:8085”
insecure=true
While installing podman through nexus proxy there wasn’t any error, but when I run
podman run -it hello-world
Output:
“Resolved “hello-world” as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull Docker…
Error: initializing source docker://hello-world:latest: pinging container registry registry-1.docker.io: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution”
In docker proxy configuration, below all are enabled:
1.Create an HTTP connector at specified port. Normally used if the server is behind a secure proxy.->8085
2.Allow anonymous docker pull ( Docker Bearer Token Realm required )
3.Allow clients to use the V1 API to interact with this repository
4.Remote storage: → https://registry-1.docker.io
5.Use Docker Hub
6.Allow Nexus Repository Manager to download and cache foreign layers
7.Blob store → default and all other parametres left as was, just docker bearer token realm switched to active
OS is Ubuntu 22.04 and just first host has an internet connection