Closed richardtearle-nps closed 11 months ago
@richardtearle-nps ,
curl --max-time 10 http://X.Y.123.101:8080/
to check if the proxy is even reachable by host machine.docker run
a container and do curl --max-time 10 http://X.Y.123.101:8080/
in that container.If either 1 or 2 is connection timeout, then it should be due to your network connectivity issue.
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
We've had harbor working for over 6 months now, as both a image repo and a proxy cache for docker hub. Recently our server was migrated to a new hosting centre, with additional security etc. after this move we're unable to access docker hub from harbor.
We use podman, podman.socket and docker-compose to deploy harbor on this server. I've configured podman to use our corp. proxy, via the
/usr/share/containers/containers.conf
file:restarting podman service, I can reach the docker hub registry end point in a simple container, whereas without those settings I couldn't:
I then modified the
harbor.yml
to include our proxy settings:Redeployed harbor, and checked the environment variables in the
harbor-core
container:and then tried the same request to reach the docker hub registry endpoint:
I also checked that harbor-core could reach our proxy:
which it can't. Finally, just for good measure the output from a simple container:
The output of that is as I'd have expected.
Can anyone suggest what's wrong?
TIA