Can't start minikube inside docker network

2/26/2022

I'm trying to start minikube on ubuntu 18.04 inside nginx proxy manager docker network in order to setup some kubernetes services and manage the domain names and the proxy hosts in the nginx proxy manager platform.

so I have nginxproxymanager_default docker network and when I run minikube start --network=nginxproxymanager_default I get

Exiting due to GUEST_PROVISION: Failed to start host: can't create with that IP, address already in use

what might I been doing wrong?

-- dazzed
docker
kubernetes
minikube
ubuntu

1 Answer

2/28/2022

A similar error was reported with kubernetes/minikube issue 12894

please check whether there are other services using that IP address, and try starting minikube again.

Considering minikube start man page

--network string

network to run minikube with.
Now it is used by docker/podman and KVM drivers.

If left empty, minikube will create a new network.

Using an existing NGiNX network (as opposed to docker/podman) might not be supported.

I have seen NGiNX set up as ingress, not directly as "network".

-- VonC
Source: StackOverflow