Skip to content

Instantly share code, notes, and snippets.

@ntr-808
Created June 25, 2018 08:11
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 ntr-808/5a01404bc01f1be03f3d08e035ee5484 to your computer and use it in GitHub Desktop.
Save ntr-808/5a01404bc01f1be03f3d08e035ee5484 to your computer and use it in GitHub Desktop.
minikube mount -v10 /home/ntr/eg/app/:/opt/app
Found binary path at /usr/local/bin/docker-machine-driver-kvm2
Launching plugin server for driver kvm2
Plugin server listening at address 127.0.0.1:35539
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .DriverName
Mounting /home/ntr/eg/app/ into /opt/app on the minikube VM
This daemon process needs to stay alive for the mount to still be accessible...
ufs starting
Found binary path at /usr/local/bin/docker-machine-driver-kvm2
Launching plugin server for driver kvm2
Plugin server listening at address 127.0.0.1:35609
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetSSHHostname
(minikube) Calling .GetSSHPort
(minikube) Calling .GetSSHKeyPath
(minikube) Calling .GetSSHKeyPath
(minikube) Calling .GetSSHUsername
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x834be0] 0x834b90 [] 0s} 192.168.39.246 22 <nil> <nil>}
About to run SSH command:
sudo umount /opt/app;
SSH cmd err, output: Process exited with status 32: umount: /opt/app: not mounted.
(minikube) Calling .GetSSHHostname
(minikube) Calling .GetSSHPort
(minikube) Calling .GetSSHKeyPath
(minikube) Calling .GetSSHKeyPath
(minikube) Calling .GetSSHUsername
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x834be0] 0x834b90 [] 0s} 192.168.39.246 22 <nil> <nil>}
About to run SSH command:
sudo mkdir -p /opt/app || true;
sudo mount -t 9p -o trans=tcp,port=39471,dfltuid=1001,dfltgid=1001,version=9p2000.u,msize=262144 192.168.39.1 /opt/app;
sudo chmod 775 /opt/app;
2018/06/25 18:09:27 connected
2018/06/25 18:09:27 >>> 192.168.39.246:48476 Tversion tag 65535 msize 65536 version '9P2000.u'
2018/06/25 18:09:27 <<< 192.168.39.246:48476 Rversion tag 65535 msize 65536 version '9P2000.u'
2018/06/25 18:09:27 disconnected
SSH cmd err, output: <nil>: mount: /opt/app: mount(2) system call failed: Cannot allocate memory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment