abiosoft / colima

Container runtimes on macOS (and Linux) with minimal setup
MIT License
19.39k stars 390 forks source link

Issues accessing internet after macos ventura upgrade #456

Open nbrys opened 2 years ago

nbrys commented 2 years ago

Description

After upgrading to Ventura, when running a container that requests access to the internet, i hit the following issue:

cannot fetch token: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.5.3:53: read udp 172.17.0.2:50752->192.168.5.3:53: i/o timeout

It seems like containers running with colima can no longer access / resolve internet domains

Version

colima version 0.4.6 git commit: 10377f3a20c2b0f7196ad5944264b69f048a3d40

runtime: docker arch: x86_64 client: v20.10.20 server: v20.10.11

Operating System

Reproduction Steps

  1. Update to ventura
  2. try a dns / curl call from within a running container

Expected behaviour

No response

Additional context

No response

abiosoft commented 2 years ago

@nbrys does starting colima with slirp network make any difference?

colima start --network-driver slirp
nbrys commented 2 years ago

Hi @abiosoft , same issue After some more investigation, it seems that our ESET is blocking this internal DNS requests. This did not happen on Monterey. Screenshot 2022-10-27 at 11 33 30

abiosoft commented 2 years ago

@nbrys does custom dns servers like Google or Cloudflare work?

colima start --dns 8.8.8.8 --dns 1.1.1.1
nbrys commented 2 years ago

@abiosoft that indeed works

abiosoft commented 2 years ago

closed by mistake