I cannot share a folder. What do I do? #285

Closed
opened 2025-12-29 00:23:05 +01:00 by adam · 1 comment
Owner

Originally created by @q351941406 on GitHub (Nov 29, 2021).

Appears after a command is run on macOS
mount_9p: fs_tag hostshare not found

docker run -i
--device /dev/kvm
-p 50922:10022
-p 5999:5999
-v /tmp/.X11-unix:/tmp/.X11-unix
-v "$PWD/hostshare:/mnt/hostshare"
-e EXTRA="-virtfs local,path=/mnt/hostshare,mount_tag=hostshare,security_model=passthrough,id=hostshare"
-e "DISPLAY=${DISPLAY:-:0.0}"
-e EXTRA="-display none -vnc 0.0.0.0:99,password=on"
sickcodes/docker-osx:auto

Originally created by @q351941406 on GitHub (Nov 29, 2021). Appears after a command is run on macOS mount_9p: fs_tag hostshare not found docker run -i \ --device /dev/kvm \ -p 50922:10022 \ -p 5999:5999 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v "$PWD/hostshare:/mnt/hostshare" \ -e EXTRA="-virtfs local,path=/mnt/hostshare,mount_tag=hostshare,security_model=passthrough,id=hostshare" \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e EXTRA="-display none -vnc 0.0.0.0:99,password=on" \ sickcodes/docker-osx:auto
adam closed this issue 2025-12-29 00:23:06 +01:00
Author
Owner

@trompx commented on GitHub (Jan 27, 2022):

@q351941406 may I know how you solved this. I have the same problem, the shared folder is not mounted?

@trompx commented on GitHub (Jan 27, 2022): @q351941406 may I know how you solved this. I have the same problem, the shared folder is not mounted?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#285