Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

Share usb drive with time machine backup to docker-osx / ventura on windows 1122h2

Open smurfxx opened this issue 2 years ago • 3 comments

I'm trying to share a usb drive from windows to a ventura container, I tried to follow these steps: https://github.com/sickcodes/Docker-OSX#mount-usb-drive-hotplughot-plug-usb but I can't see the usb disk when I use the command lsusb. I successfully installed Ventura using docker desktop, so I wonder if can I bypass that step using docker desktop itself to map the disk and make it available on a Ventura for a restore.

Thanks!

smurfxx avatar Dec 10 '22 11:12 smurfxx

I haven't tried usb sharing on Windows, have you looked for usb redirection stuff about windows?

sickcodes avatar Dec 11 '22 05:12 sickcodes

I'm new about "docker world" so I don't know where to start about usb redirection. Anyway, I tried docker-osx on a notebook with Ubuntu, everything works well on Mac OS but when I try to connect the time machine usb drive I recevive this error on qemu console: usb_desc_get_descriptor: 2 unknown type 33 (len 10) usb_desc_get_descriptor: 1 unknown type 33 (len 10) When I quit the container I see that the disk is seen from Ubuntu, so something happens but inside OS X, even from disk utility, I can't find the disk.

I tried even with a normal usb drive formatted with fat32 but the same tutorial described here https://github.com/sickcodes/Docker-OSX#mount-usb-drive-hotplughot-plug-usb doesn’t work and I can’t understand why.

Are there any other methods to attach a usb device into the virtualized Mac OS? Thank you for your support!

smurfxx avatar Dec 11 '22 14:12 smurfxx

I have the same necessity, but when I have to write qemu commands I cannot do it becouse I launch the docker container with docker start container_name. Is there a way to enter the qemu console?

marchrius avatar Aug 12 '23 09:08 marchrius