for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Cannot add back reserved volume after removing it

Open atombender opened this issue 10 years ago • 16 comments

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.

  1. Under File Sharing tab, remove default volume /Users.
  2. Save and restart.
  3. Add /Users/foo.
  4. Save and restart.
  5. Remove /Users/foo.
  6. Save and restart.
  7. Add /Users. App now complains that /Users is reserved, and refuses to add it.

atombender avatar Aug 05 '16 01:08 atombender

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).

dsheets avatar Aug 05 '16 11:08 dsheets

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.

atombender avatar Aug 05 '16 15:08 atombender

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.

dsheets avatar Aug 05 '16 15:08 dsheets

Understandable. Thanks, I will.

atombender avatar Aug 05 '16 15:08 atombender

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.

  1. Under File Sharing tab, remove default volume /Users.
  2. Save and restart.
  3. Add /Users
  4. Save and restart. App now complains that /Users is reserved, and refuses to add it.

maximilliangeorge avatar Nov 14 '18 12:11 maximilliangeorge

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.

pjialin avatar Dec 08 '18 08:12 pjialin

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.

pjialin avatar Dec 08 '18 09:12 pjialin

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:

image

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

image

estraph avatar Apr 19 '19 07:04 estraph

@dsheets I feel like this is still an issue and should be re-opened.

estraph avatar Apr 19 '19 07:04 estraph

I too had this problem, and I had to delete all my containers and restart.

dgm avatar Jun 12 '19 22:06 dgm

Just encountered the same issue. Very annoying, this is clearly a bug and this issue should be re-opened.

psdevhh avatar Sep 03 '19 14:09 psdevhh

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)

drewtoto avatar Sep 27 '19 23:09 drewtoto

Also running into this issue. @dsheets it would be greatly appreciated if this issue was reopened

griddyphillip avatar Oct 03 '19 00:10 griddyphillip

@estraph work on me...

waterfall531 avatar Oct 30 '19 09:10 waterfall531

Also hit this issue today with a custom file path made from root. @estraph's workaround fixed it.

Lambeaux avatar Jan 22 '20 00:01 Lambeaux

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

docker-robott avatar Jun 18 '20 03:06 docker-robott