Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portainer fails to edit container on private registries with trailing slash in url #2507

Closed
alekc opened this issue Nov 29, 2018 · 3 comments

Comments

@alekc
Copy link

alekc commented Nov 29, 2018

Similar to #1140

I use a private registry for some of my containers, and I noticed recently that on new docker install I was unable to duplicate/edit existing containers, because portainer was giving me an error saying that I needed to create a private registry entry. Which was weird given the fact that portainer has happily created that container couple of minutes earlier.

Turns out that on registry page, registry url had a trailing slash at the end of the url, which permitted me to create new container without issues, but when it came to editing it was failing.

@deviantony deviantony added this to Needs confirmation in Bug triage via automation Nov 30, 2018
@deviantony deviantony moved this from Confirmation required - Low priority to Need triage in Bug triage Mar 4, 2019
@ghost
Copy link

ghost commented Apr 10, 2020

Unable to reproduce this on 1.23.2 as you are prevented from pulling an image from a registry with a trialing slash or start a container from it, you get Failure invalid reference format and cant deploy.

@ghost
Copy link

ghost commented Apr 10, 2020

This does highlight though, that we should prevent entry of registries with a trailing slash, or omit it on save

@ghost
Copy link

ghost commented Jun 26, 2020

Closing this, as it will be addressed via this enhancement request #3965

@ghost ghost closed this as completed Jun 26, 2020
Bug triage automation moved this from Need triage to Fixed Jun 26, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants