How to solve permission trouble when running Postgresql from minikube?
Maybe you're having a write permission issue with Virtualbox mounting those host folders.Instead, use /data/postgres
as a path and things will work.
Minikube automatically persists the following directories so they will be preserved even if your VM is rebooted/recreated:
/data
/var/lib/localkube
/var/lib/docker
Read these sections for more details: