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
add back validation (maybe?) for disable registry url validation in prune #15291
We need to support the flag anyway. Even the best algorithm we can make cannot be right all the time.
Therefor the validation should be re-enabled. The argument isn't really a URL, it's rather a shortened pull-spec (just the registry part). I thought we could use docker's validation, but they still use url.Parse(). And their validation for insecure registries is private. I'll come up with something.
Activity
mfojtik commentedon Jul 19, 2017
@deads2k @miminar ideally I would drop that option in favor of https://trello.com/c/2cHkrqIu/954-provide-public-pull-url-for-images
deads2k commentedon Jul 19, 2017
Your call. Presumably the code you're calling will do something reasonable.
miminar commentedon Jul 19, 2017
We need to support the flag anyway. Even the best algorithm we can make cannot be right all the time.
Therefor the validation should be re-enabled. The argument isn't really a URL, it's rather a shortened pull-spec (just the registry part). I thought we could use docker's validation, but they still use
url.Parse(). And their validation for insecure registries is private. I'll come up with something.miminar commentedon Jul 26, 2017
Addressed by #14914
Merge pull request #14914 from miminar/secure-image-prune