abiosoft / abiosoft/colima

`vmnet.sock: connect: permission` when using `--network-address`

Đang mở
#854 9 bình luận 2 reaction 0 người được giao Xem trên GitHub
not yet reproduced
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Description

Even when using `--network-address` the VM doesn't get assigned an IP address, making the containers not accessible from outside.

### Version

Colima Version: 0.6.0
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`

INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/mfincato/.colima/default/docker.sock

### Reproduction Steps

1. `colima start --network-address`
2. No address is being assigned to Colima

### Expected behaviour

Colima should assign an IP address to the VM, to allow external access. Instead the log shows:
```bash
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0001] preparing network ... context=vm
WARN[0017] error starting vmnet: error at 'preparing network': vmnet socket file error: dial unix /Users/mfincato/.colima/default/daemon/vmnet.sock: connect: permission denied context=vm
INFO[0017] creating and starting ... context=vm
INFO[0045] provisioning ... context=docker
INFO[0045] starting ... context=docker
INFO[0046] done
```

### Additional context

I've already completely tried uninstalling, deleting all files, and reinstalling Colima and all its dependencies.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.