-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[v0.13] It seems that "registry.insecure=true" doesn't work. #4915
Comments
Hmm right, buildkit/util/resolver/resolver.go Lines 44 to 60 in 6acf12f
However, the http only kicks-in, if the |
The http fallback in containerd also only checks for the tls error: https://github.com/containerd/containerd/blob/536608ef227e0825c7c49d59a71a698cc8039ff5/core/remotes/docker/resolver.go#L735 cc @dmcgowan |
Cross-linking docker/buildx#2226, related? |
@vvoland But that is not the behavior of moby, with host defined in insecure-registries, right? |
It is, but only with the containerd integration (because it uses the same resolver as buildkit). It works fine with graphdrivers. |
It seems that "registry.insecure=true" doesn't work.
![image](https://private-user-images.githubusercontent.com/95457265/329893365-8b9a77dc-6cde-4a23-8cd8-52d8f0387f2b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODgwOTUsIm5iZiI6MTczOTQ4Nzc5NSwicGF0aCI6Ii85NTQ1NzI2NS8zMjk4OTMzNjUtOGI5YTc3ZGMtNmNkZS00YTIzLThjZDgtNTJkOGYwMzg3ZjJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIzMDMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjNTJjZWZkNGJiNjg4ZGM5NmIzYjQ2ZWU0M2Q3NjM3ZDBhYTczYmI5ZjM2YzE0NzA3ODg1MmQ0MmY0MzdmY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.687LBAYdileJQdNzEHs56-5VaQYE8_3vrpF_QdNMRVE)
![image](https://private-user-images.githubusercontent.com/95457265/329893483-94676519-0b32-40ba-b186-89391429a19f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODgwOTUsIm5iZiI6MTczOTQ4Nzc5NSwicGF0aCI6Ii85NTQ1NzI2NS8zMjk4OTM0ODMtOTQ2NzY1MTktMGIzMi00MGJhLWIxODYtODkzOTE0MjlhMTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIzMDMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxYTdiOGQyODIwNTNiMzNkNjQyOGQxMDFmMDlmZjZhMGU4ODk1Mjg3Zjg4OWY3NGJkNzdlNDM5YTljYzIzZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lquVTjHvcj0ZzrpRq1yDJNHsW4g-4PwYRHCEtP23OHY)
My registry only supports HTTP protocol and 80 port.
But in v0.11.6 it works well.
The text was updated successfully, but these errors were encountered: