Open branzo opened 5 years ago
I have to admit that I haven't done much with pull through caches. Thus, it's an area in which I need to do some research (thus the discussing
tag).
As for the library
namespace, I believe that there are three issues which are related and that they are going to be worked on during the 2.5
release: #1241, #1961 and #1944. With this, we should be able to handle the library
namespace flawlessly, while allowing transfers, change of teams, etc.
I'd also say that documentation should be written for this one :+1:
Hello again,
i made some experiments during the past night and i would like to integrate some informations into the thread:
as far as i have been able to seen yesterday, it seems that there a problem with token based authentication when the "caching mode" is enabled:
Whilist the login / logout process works smoothly, trying to push to registry (at least to some other namespace than library) will result in a HTTP 405 being thrown as a reply. I have to dig deeper, but someone already pulled up the case at docker/distribution that could be related to this:
Issue: docker/distribution/issues/2478
PR: docker/distribution/pull/2481
Thanks for investigating :clap: That PR looks rather dead (almost a year since it was submitted), so maybe things have changed :thinking:
Hello,
mmh, i'll try to investigate a bit further asap. ^,^
I think that it will be great, if you will deploy 2-to registry(registry and cache) in one UI.
Description
I'm sure this is not a real issue, but i would like to discuss, about some best practices of the use case redacted into the issue's description.
Steps to reproduce
add proxy configuration to registry's config.yaml:
then, configure your Docker daemon accordingly by insert into you docker daemon (dockerd) config json:
or append the following parameters to your Docker daemon cmdline (Gentoo anyone?):
and start pull images such as alpine:3.7 or alpine:edge
library
namespace will be created, containing all the cached images, and it seems that it is working as expected, but since this is not documented nor contemplated maybe it is better to discuss with all of you.Should Portus be aware of the
library
namespace? Should Portus be aware of all new repositories that could be created under thelibrary/
namespace? Do you recommend using another registry for this purpose? Are HRs bad at asking CV in .doc or .docx format?What do you guys think of this?
Deployment information
Deployment method: i just used examples as a base with some customizations tho.
Configuration:
docker-compose.yaml
registry config.yaml:
Portus version: 2.3.5@35b9c801bf5275537a8bd8152d2f5769d6c24b09