kitematic icon indicating copy to clipboard operation
kitematic copied to clipboard

Can't access local file in virtual machine

Open tobegit3hub opened this issue 11 years ago • 7 comments

We want to access the /var/run/docker.sock in kitematic cli. All these files are in virtual machine from virtualbox but how can we access them?

tobegit3hub avatar Jun 26 '15 10:06 tobegit3hub

You need to login to the VM. docker-machine ssh kitematic and access via there. Other docker client queries from the host client should just go over tcp with the certs created at installation time.

leafmulch avatar Jun 26 '15 11:06 leafmulch

@leafmulch has almost the proper command - The VM created is actually labelled dev so the proper command is: docker-machine ssh dev

TeckniX avatar Jun 26 '15 15:06 TeckniX

for vanilla docker-machine setups maybe, but I got a kitematic out of the box here:-

PS C:\Users\xxxxx\AppData\Local\Kitematic\app-0.7.3> docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM kitematic * virtualbox Running tcp://192.168.99.103:2376

leafmulch avatar Jun 26 '15 16:06 leafmulch

@leafmulch Yup in Windows, the VM created is labelled 'kitematic' otherwise it's 'dev'. I guess we were both right :P

@tobegit3hub - To SSH into the proper machine: docker-machine ls Should return Either kitematic or dev docker-machine ssh <above-name>

TeckniX avatar Jun 26 '15 16:06 TeckniX

There's no like/favourite on your comment, so...

Ah - didn't think that mac would be different! Good to know.

leafmulch avatar Jun 26 '15 16:06 leafmulch

Seems like this issue is ready to be closed :), but feel free to re-open if otherwise.

jmorganca avatar Jun 26 '15 20:06 jmorganca

Yes, it works. Thanks all @leafmulch and @TeckniX :+1:

tobegit3hub avatar Jun 28 '15 00:06 tobegit3hub