[GH-ISSUE #394] I cannot share a folder. What do I do? #284

Closed
opened 2026-02-27 22:08:52 +03:00 by kerem · 1 comment
Owner

Originally created by @q351941406 on GitHub (Nov 29, 2021).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/394

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). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/394 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
kerem closed this issue 2026-02-27 22:08:52 +03: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?

<!-- gh-comment-id:1023623680 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#284
No description provided.