Cannot add back reserved volume after removing it
Expected behavior
Should be able to add back /Users after removing it.
Actual behavior
Docker for Mac says it's reserved.
Steps to reproduce the behavior
This is what I did. Steps 3-6 are probably unnecessary.
- Under File Sharing tab, remove default volume
/Users. - Save and restart.
- Add
/Users/foo. - Save and restart.
- Remove
/Users/foo. - Save and restart.
- Add
/Users. App now complains that/Usersis reserved, and refuses to add it.
I cannot reproduce this issue. Were there error message pop-ups during this sequence? The only known spurious error is combining descendent exports together in a single Apply & Restart step as mentioned in #139 (which reports the opposite).
I'm no longer able to reproduce this. It was not the same error as #139. I'm confident that error dialog explicitly said /Users is a reserved folder.
I'm going to close this as neither of us can reproduce it. If you see it again, please do come back and re-open the issue with as much detail as you can remember/have saved. Thank you for your report; I appreciate that you took the time to tell us about a defect.
Understandable. Thanks, I will.
I'm having the same issue.
Expected behavior
Should be able to add back /Users after removing it.
Actual behavior
Docker for Mac says:
The path /Users is reserved by Docker however it may be possible to export specific subdirectories. Please see the documentation for more information.
Steps to reproduce the behavior
This is what I did.
- Under File Sharing tab, remove default volume /Users.
- Save and restart.
- Add /Users
- Save and restart. App now complains that /Users is reserved, and refuses to add it.
Same problem here and still can't find any answer to solve this.
Docker version: 2.0.0.0-mac81 (29211) right now, It's the latest version.
I think this problem has been solved by me. I removed all the containers associated with the problem directory, then restarted docker and tried to add it again. No error
This is not a good way to solve this problem, but it does work.
Just hit the same issue. I had removed the /Users entry in that menu and when trying to add back a sub-directory within it, got this error:

I ran docker rm $(docker ps -a -q) which removed a bunch of containers and then docker volume prune which removed a number of volumes, but still had the same issue. I then restarted Docker from the app menu and after that was finally able to add the directories into that menu.
Version info

@dsheets I feel like this is still an issue and should be re-opened.
I too had this problem, and I had to delete all my containers and restart.
Just encountered the same issue. Very annoying, this is clearly a bug and this issue should be re-opened.
Ran into this problem today. I had to "Reset to factory defaults" to be able to add directory back.
Docker version: 19.03.2 (6a30dfc)
Also running into this issue. @dsheets it would be greatly appreciated if this issue was reopened
@estraph work on me...
Also hit this issue today with a custom file path made from root. @estraph's workaround fixed it.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked