-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Colima is not able to access local network connections after mac update #1157
Comments
Local Network is enabled for Docker. I need to reach a server on our local network and I need to stick to a container based approach. |
check : #711 and make sure you can reach it. It may be a resolution issue. |
I met the similar problem. I couldn't push docker image to a registry in a local network by IP address. The workaround for me is setting
Apple Silicon (M1): Sequoia 15.1 |
$ docker login my.private.registry
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: Get "https://my.private.registry/v2/": net/http: TLS handshake timeout
Username (mread): ^C
$ docker login my.private.registry
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: Get "https://my.private.registry/v2/": context deadline exceeded
Username (mread): ^C
$ docker login my.private.registry
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: Get "https://my.private.registry/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Username (mread): ^C I see the above various timeouts connecting to a private Artifactory instance over VPN, on Mac OS 15.1. There were no issues prior to the Sequioa upgrade. And unlike the OP, Colima does appear in my System Settings → Privacy & Security → Local Network, and I have given it access. I also added & enabled it under Developer Tools (which seemed to be required for Docker Desktop, FWIW) and Full Disk Access to no effect. A complete reinstall of Colima including the removal of $ colima version && limactl --version && qemu-img --version
colima version 0.8.0
git commit: 9c08cff339f087c0600d9d56af7b5fbcfe02e287
runtime: docker
arch: aarch64
client: v27.3.1
server: v27.3.1
limactl version 1.0.1
qemu-img version 9.1.1
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers $ colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.6
INFO[0000] socket: unix:///Users/mread/.colima/default/docker.sock |
I have a similar issue after upgrading to Sequoia 15.1. Pulling images from a registry behind a VPN does not work anymore with colima flag Error message is similar to the previous poster, e.g. However, if Reinstalling colima, using dev version, deleting profiles and colima/lima related files did not help.
Operating System is |
Can you share the output of You should get something like the following
What happens if you delete the entry for the network address?
|
This fixes the issue as a workaround - I can still reach colima from my host with network-address and pulling images in colima from the Registry behind VPN works. |
@f-helm if that indeed resolves it, then an update can be pushed to enforce the behaviour. I would wait for confirmation from others as well. |
above workaround works for me as well |
I had the same issue, the workaround above also fixes it for me |
I think we've got enough confirmations, would go ahead with the fix. |
Description
Colima containers are not able to access the local network.
Possible cause: After recent macos updates, local network access for applications must be specifically enabled via System Settings. (Privacy and Security -> Local Network) I had to explicitly enable it for "Docker" however there is Calima doesn't appear in the list of options to be enabled.
Version
Operating System
Output of
colima status
Reproduction Steps
Expected behaviour
The local computer should be able to be reached by the container
Additional context
No response
The text was updated successfully, but these errors were encountered: