abiosoft / abiosoft/colima

Insecure Registry not being set

Aperta
#834 7 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.