Skip to content

Instantly share code, notes, and snippets.

@jnaous
jnaous / wsl.conf
Last active March 30, 2023 22:58
Getting minikube to run with --driver=kvm2 on WSL2 on Windows 11
# Add the following to your /etc/wsl.conf file
[boot]
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
command = /bin/bash -c 'service dbus start'
command = /bin/bash -c 'service docker start'
command = /bin/bash -c 'libvirtd -d'
command = /bin/bash -c 'virtlogd -d'
[wsl2]
nestedVirtualization=true