abiosoft / abiosoft/colima

Insecure Registry not being set

Ouverte
#834 7 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
30.8k
Forks
613
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.