bitcoin-dev-project / warnet

Monitor and analyze the emergent behaviors of Bitcoin networks
https://warnet.dev
MIT License
59 stars 27 forks source link

use `minikube start --mount` to mount filesystem #349

Closed mplsgrant closed 3 weeks ago

mplsgrant commented 3 weeks ago

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'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

willcl-ark commented 3 weeks ago

Sorry I re-triggered CI to see if it will pass. I think it will if you rebase on main now (🤞🏼 )