Skip to content

Insecure Registry not being set #834

@Taylor150

Description

@Taylor150

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)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions