Skip to content

Instantly share code, notes, and snippets.

@DzeryCZ
Last active December 9, 2018 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DzeryCZ/21e900818efb494167a3eafa445297c7 to your computer and use it in GitHub Desktop.
Save DzeryCZ/21e900818efb494167a3eafa445297c7 to your computer and use it in GitHub Desktop.
Minikube in WSL

Minikube in WSL

  1. Install minikube in windows
  2. Add this to ~/.bashrc:
function minikube()
{
    if [ $1 == "docker-env" ]; then
            minikube.exe $1 $2 --shell bash | sed 's/C:/\/c/' | sed 's/\\/\//g' | sed 's/"//g'
    else
            minikube.exe "$@"
    fi
}
export -f minikube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment