lima-vm / lima-vm/lima

LIma VM randomly and sporadically loses network connectivity

Open
#501 7 comments 3 reactions 0 assignees View on GitHub
component/qemu guest/alpine
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

## Summary

All networking and DNS functionality stops working on the Lima VM after a random number of bytes are transferred. Networking gets restored approx. ten seconds later.

Reboots fix this problem temporarily.

## Host configuration

2021 Apple MacBook Pro M1 Pro, 16GB RAM

## VM configuration

See [here](https://gist.github.com/carlosonunez/c2dd48ae33e7ac38ba066cffba790c28).

## How To Reproduce

- Start the VM: `limactl start`. The configuration above also installs Docker with `dockerd`.
- Set `DOCKER_HOST` to the IP of the VM on the host
- Perform random network traffic through a Docker container until you receive an i/o timeout

## Troubleshooting Performed

- Changed the version of Alpine used on the guest to 3.14.10
- `sudo ifdown eth0 && sudo ifup eth0` on the host

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.