Use portforwarding for qemu with user network

Only the SSH and the Docker port (2376) are available
with the slirp network, everything else needs tunneling.
pull/13639/head
Anders F Björklund 2022-02-22 08:05:41 +01:00
parent 98b8b6a0b4
commit d9c303e642
1 changed files with 3 additions and 0 deletions
pkg/minikube/driver

View File

@ -183,6 +183,9 @@ func AllowsPreload(driverName string) bool {
// NeedsPortForward returns true if driver is unable provide direct IP connectivity
func NeedsPortForward(name string) bool {
if name == QEMU {
return true
}
if !IsKIC(name) {
return false
}