Place minikube start --mount --mount-string="$PWD:/mnt/src" inside warnet's justfile start command.
Note: This fix requires that we run minikube delete on each invocation of just start. This is because docker has an issue with re-mounting filesystems, and the minikube delete approach to sidestepping this limitation comes recommended.
Rationale
The current justfile already relies on minikube.
It simplifies our mounting logic (no more pid management).
Issue
I can't mount my host's directory to minikube's
/mnt/src
directory.Cause
Our current
minikube mount
approach requires the use of the 9p filesystem but debian cloud as well as cent os and red hat all have issues supporting 9p.Solution
Place
minikube start --mount --mount-string="$PWD:/mnt/src"
inside warnet'sjustfile start
command.Note: This fix requires that we run
minikube delete
on each invocation ofjust start
. This is because docker has an issue with re-mounting filesystems, and theminikube delete
approach to sidestepping this limitation comes recommended.Rationale