abiosoft / abiosoft/colima

Insecure Registry not being set

Đang mở
#834 7 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

I have use colima start --edit to add my insecure registry:
`docker:
insecure-registries:
- 192.168.172.27:6969
- repo.local:6969
- localhost:6969
- 127.0.0.1:6969`

however when i do a docker login, it looks like the insecure registry is not being recognised:
`docker login http://192.168.178.27:6969
Username: admin
Password:
Error response from daemon: Get "https://192.168.178.27:6969/v2/": http: server gave HTTP response to HTTPS client`

Any suggestions?

### Version

Colima Version: 0.5.6
Lima Version: 0.18.0
Qemu Version: 8.1.2

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [X] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

colima is running using macOS Virtualization.Framework
arch: aarch64
runtime: docker
mountType: virtiofs
address:
socket: unix:///Users/laurencetaylor/.colima/default/docker.sock

### Reproduction Steps

1. I have a local docker registry
2. I have set this registry in the insecure-registries within colima config
3. I have tried to docker login to the registry/docker pull
4. I receive and error which infers that the insecure registry is not recognised

### Expected behaviour

Be able to login to my insecure registry

### Additional context

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.