Closed gorbak25 closed 9 months ago
@gorbak25 Thank you for your feedback. Please use registryfs_v1 for now. We currently recommend users to use registryfs_v1 as possible. Regitryfs_v2 still has some known issues that have not been resolved, including the parsing problem when the URL contains a port, which may be the problem you encountered.
@liulanzheng I've checked that if I use quay directly without a proxy in between(host.docker.internal:9999) the lazy pulling still fails on v2 but works on v1
I will fix this within few days.
@gorbak25 hi~ I updated the PhotonLibOS version in https://github.com/containerd/overlaybd/commit/7fd3f39255f5fae0b492cbdda9a1491673f6d49d. Registryfs v2 uses http module in PhotonLibOS and i fixed the problem about address with port in PhotonLibOS several days ago. Please have a try.
What happened in your environment?
I have an overlaybd lazy pulling config which works on RegistryFS v1 but fails on Registry FS v2
What did you expect to happen?
No response
How can we reproduce it?
With the following overlaybd config
Everything works fine on V1 but on V2 I get this in the log file:
What is the version of your Overlaybd?
https://github.com/hocus-dev/overlaybd/tree/bd560ed9066345fd71a1d44489d90e98662ba234 https://github.com/hocus-dev/hocus/blob/3e163c1792f12cacdc5054ed6faa3bc20162ac31/ops/docker/prebuilds.Dockerfile#L7
What is your OS environment?
Ubuntu 22.04.2 LTS running on Hocus
Are you willing to submit PRs to fix it?