Replies: 16 comments
-
You should probably try with https://my.host.name instead of https://my.host.name/v2/ I agree, we will try to test the connectivity before creating the registry. |
Beta Was this translation helpful? Give feedback.
-
Yes, that is the fix. My point was that it wasn't clear what the issue was. A connectivity test would have nailed it at registry creation time - if that's possible... Thanks! |
Beta Was this translation helpful? Give feedback.
-
i got the same issue then i want to use pull image i was setting the auth info and if i use docker pull njdocker1.nj.thundersoft.com/public/rsyslog:1.0 can pull the img from my own Registry @deviantony this is my origin setting |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@ncresswell ths but we use harbor ,the default port was 80.but even add the port it still does't work throw "Failure:invalid reference format"" |
Beta Was this translation helpful? Give feedback.
-
@zwx168238 are you using |
Beta Was this translation helpful? Give feedback.
-
@deviantony i use njdocker1.nj.thundersoft.com/public/rsyslog:1.0 as the image,it was the full path |
Beta Was this translation helpful? Give feedback.
-
@zwx168238 you need to create a registry first using |
Beta Was this translation helpful? Give feedback.
-
@deviantony actually i was do like this |
Beta Was this translation helpful? Give feedback.
-
@zwx168238 and this is not working? Feel free to ping me on Slack to discuss this. |
Beta Was this translation helpful? Give feedback.
-
@deviantony ths for you hard work , now it was works |
Beta Was this translation helpful? Give feedback.
-
Hello! I would like to start my contribution to here. If no one working on this, I would like to take it :) |
Beta Was this translation helpful? Give feedback.
-
@asasmoyo Nobody is working on this yet, feel free to open a PR :-) |
Beta Was this translation helpful? Give feedback.
-
Great :) |
Beta Was this translation helpful? Give feedback.
-
@asasmoyo yes, that should be enough for a check. |
Beta Was this translation helpful? Give feedback.
-
@deviantony please take a look my pr |
Beta Was this translation helpful? Give feedback.
-
I tried to configure a private registry using the host url I docker log'ed in to - which was like
https://my.host.name/v2/
It turns out that portainer didn't like that, but gave no immediate feedback. Instead it said:
"Image from container: invalid reference format"
when I tried to add a new container.
I recommend that when you add a registry portainer tries to validate it. If that's not possible then it'd be nice for the failure message to be way more explicit. Maybe including some technical error information.
Beta Was this translation helpful? Give feedback.
All reactions