travis-minikube icon indicating copy to clipboard operation
travis-minikube copied to clipboard

where could I find the .minikube dir?

Open debuggy opened this issue 6 years ago • 2 comments

hi,

I want to copy some files into minikube cluster with $HOME/.minikube/files/. However there is an error complaining about no such dir during travis build.

So where could I find this dir. Or alternatively in which way could I copy some files into minikube?

debuggy avatar Dec 16 '18 14:12 debuggy

Have you tried using the minikube mount command, https://github.com/kubernetes/minikube/blob/5d910e8937962f21785ce3acc0e6b9a2d5da9114/docs/host_folder_mount.md Haven't tested it myself with the --vm-driver=none, so I am interested to know if it works. :)

lilic avatar Dec 17 '18 10:12 lilic

Unfortunately there is a warning: "'none' driver does not support 'minikube mount' command"

In detail I tried to pass a dockerfile into a minikube container to build an image, and have tried several ways trying to mount or copy files into minikube vm. However none of them worked yet. Do you have any suggestions?

debuggy avatar Dec 17 '18 13:12 debuggy