You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the remote registry is not directly accessible, I have to use ssh port forwarding as a bridge.
This works fine if there is no error during skopeo copy. If there is any error in the first try, then any subsequent retries will fail as well. This is because the remote registry is not immediately responding to subsequent connections, until after a time delay.
This following sequence works fine in the case of retries:
ssh -4 <user>@<ip> -O ControlMaster=auto -fNL localhost:13340:localhost:20048 # localhost:20048 is the remote registry
for retries in { 1..10 }; do
skopeo copy --dest-tls-verify=false docker://<image> docker://<image> && break
sleep 5s
done
ssh -4 <user>@<ip> -O cancel -L localhost:13340:localhost:20048
The request is to add time delay between retries.
The text was updated successfully, but these errors were encountered:
This is my calling sequence:
As the remote registry is not directly accessible, I have to use ssh port forwarding as a bridge.
This works fine if there is no error during skopeo copy. If there is any error in the first try, then any subsequent retries will fail as well. This is because the remote registry is not immediately responding to subsequent connections, until after a time delay.
This following sequence works fine in the case of retries:
The request is to add time delay between retries.
The text was updated successfully, but these errors were encountered: