When starting Minikube with the Docker driver on Manjaro (version 24.0.5) using a custom profile and a custom network, I encounter an error related to the network parameter. It seems that the error occurs in the HostIP function found in pkg/minikube/cluster/ip.go. This function only receives the clusterName as an argument and does not reference the network name. As a result, if the network name matches the profile name, there is no error; however, using different names leads to a failure.
I have tried to find suitable solutions but have been unable to fix this error. Any reference links or guidance would be greatly appreciated.
>Solution :
To resolve the Minikube error with the Docker driver on Manjaro (version 24.0.5) when using a custom profile and network, try the following steps:
Check Network Configuration: Ensure the custom network is correctly created with docker network ls.
Use Consistent Naming: If possible, keep the profile name and network name the same to avoid errors.
Update Minikube: Ensure you’re on the latest version by running:
minikube update-check
minikube update
Review Logs: Check Minikube logs for specific error messages:
minikube logs