how to fix "lima v1.0.1 need socket_vmnet owned by "root"" #2961
Replies: 2 comments
-
git clone https://github.com/lima-vm/socket_vmnet
cd socket_vmnet
# Change "v1.1.7" to the actual latest release in https://github.com/lima-vm/socket_vmnet/releases
git checkout v1.1.7
make
sudo make PREFIX=/opt/socket_vmnet install.bin
# Set up the sudoers file for launching socket_vmnet from Lima
limactl sudoers >etc_sudoers.d_lima
less etc_sudoers.d_lima # verify that the file looks correct
sudo install -o root etc_sudoers.d_lima /etc/sudoers.d/lima
rm etc_sudoers.d_lima
vi ~/.lima/_config/networks.yaml # set paths.socketVMNet to "/opt/socket_vmnet/bin/socket_vmnet" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AkihiroSuda
-
Or install from release tarball: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
when using
brew install socket_vmnet
, socket_vmnet is default owned by current user but not root. So when usinglima
, it will error as below:how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions