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
{{ message }}
Repository navigation
Option --insecure-registry does not work with pull & push (no route to host) #299
changed the title [-]Option --insecure-registry does not work with pull & push[/-][+]Option --insecure-registry does not work with pull & push (`no route to host`)[/+]on Jul 23, 2021
This is still an issue, it doesn't care about the --insecure-flag at all.
nerdctl --version
nerdctl version 2.2.0
sudo nerdctl images
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
192.168.10.6/vtdx/drs-simulator-wrapper latest bdfbab865dda About a minute ago linux/amd64 1.743GB 583.3MB
sudo nerdctl push --insecure-registry 192.168.10.6/vtdx/drs-simulator-wrapper
INFO[0000] pushing as a reduced-platform image (application/vnd.docker.distribution.manifest.v2+json, sha256:bdfbab865dda50c953961d308aed2dbc2e7a5dfc885966e346c55b19edec04f0)
WARN[0000] skipping verifying HTTPS certs for"192.168.10.6"
manifest-sha256:bdfbab865dda50c953961d308aed2dbc2e7a5dfc885966e346c55b19edec04f0: waiting |--------------------------------------|
layer-sha256:37f66026d7d43d6b11d810ca42e7c6c5557c49ed28d8e26704a413c14eed927d: waiting |--------------------------------------|
layer-sha256:2105c193b88a78a2f21c8f9c00403a135ac9e8b26c605aad0e7de7ac9c1914e6: waiting |--------------------------------------|
layer-sha256:a59b1d2d09f8b25aba124ce4ab6d8396abd5a112814d5d676929135ac2a0cc16: waiting |--------------------------------------|
elapsed: 30.1s total: 0.0 B (0.0 B/s)
FATA[0030] failed to do request: Head "https://192.168.10.6/v2/vtdx/drs-simulator-wrapper/blobs/sha256:965d8093f7b15f5cd6d30a9dee1a53b94f96c19c2eab7efa745882a5d1d78a5b": dial tcp 192.168.10.6:443: i/o timeout
Activity
AkihiroSuda commentedon Jul 23, 2021
The
no route to hosterror does not seem to be related to nerdctl.Can you ping 192.168.88.150?
[-]Option --insecure-registry does not work with pull & push[/-][+]Option --insecure-registry does not work with pull & push (`no route to host`)[/+]Teo90 commentedon Jul 27, 2021
Sure, because crictl succeeded in pulling harbor http protocol

Teo90 commentedon Jul 27, 2021
nerdctl added port 80 to pulling successfully
But push still fails!
AkihiroSuda commentedon Jul 28, 2021
cc @ktock @fahedouch
fahedouch commentedon Jul 29, 2021
I agree with @AkihiroSuda . It looks like a network issue. Did you tried crictl from same network as nerdctl ?
fahedouch commentedon Jul 30, 2021
@Teo90 your
registry firewall rulesshould authorize port443.check if your
registry firewallis blocking connection on port443beckend commentedon Nov 13, 2025
This is still an issue, it doesn't care about the --insecure-flag at all.
curl http://192.168.10.6/v2/_catalog {"repositories":[]}