Skip to content
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

net: configurable network driver #399

Merged
merged 6 commits into from
Aug 17, 2022
Merged

net: configurable network driver #399

merged 6 commits into from
Aug 17, 2022

Conversation

abiosoft
Copy link
Owner

@abiosoft abiosoft commented Aug 17, 2022

Summary

This introduces configurable network driver to toggle between slirp (Lima's default) and gvproxy.

Flag

colima start --network-driver slirp # default
colima start --network-driver gvproxy # default

Config

# Network configurations for the virtual machine.
network:
  ...
  # Network driver to use (slirp, gvproxy)
  #   - slirp is the default user mode networking provided by Qemu
  #   - gvproxy is an alternative to VPNKit based on gVisor https://github.com/containers/gvisor-tap-vsock
  # Default: slirp
  driver: slirp

@abiosoft
Copy link
Owner Author

merging, the lint error is a false-positive.

@abiosoft abiosoft merged commit 9ecb817 into main Aug 17, 2022
@abiosoft abiosoft deleted the flexible-network-driver branch August 17, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant