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

Open
opened 2025-12-29 01:19:02 +01:00 by adam · 3 comments
Owner

Originally created by @smurfxx on GitHub (Dec 10, 2022).

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!

Originally created by @smurfxx on GitHub (Dec 10, 2022). 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!
Author
Owner

@sickcodes commented on GitHub (Dec 11, 2022):

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

@sickcodes commented on GitHub (Dec 11, 2022): I haven't tried usb sharing on Windows, have you looked for usb redirection stuff about windows?
Author
Owner

@smurfxx commented on GitHub (Dec 11, 2022):

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 commented on GitHub (Dec 11, 2022): 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!
Author
Owner

@marchrius commented on GitHub (Aug 12, 2023):

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 commented on GitHub (Aug 12, 2023): 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?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#441