[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Possible Caching Issues with default /Users mount #1171

Open
winnettjohnston opened this issue Jun 13, 2016 · 1 comment
Open

Possible Caching Issues with default /Users mount #1171

winnettjohnston opened this issue Jun 13, 2016 · 1 comment
Labels

Comments

@winnettjohnston
Copy link
winnettjohnston commented Jun 13, 2016

Docker version 1.11.2, build b9f10c9
OSX 10.10.5 (14F1808)
Boot2Docker version 1.11.2, build HEAD : a6645c3 - Wed Jun 1 22:59:51 UTC 2016

First create a file in your home directory with the content test AAAA
localmachine$ printf "test AAAA" > ~/cache.test

Next log into the boot2docker image
localmachine$ docker-machine ssh

Verify the file is readable. (note i used "*" because i didn't want to post my username. You will get the same results either way)

docker@default:~$ cat /Users/*/cache.test
test AAAAdocker@default:~$

Now open the file and modify the contents to test BBBB

docker@default:~$ vi /Users/*/cache.test

and change the line to

test BBBB

Now cat the file

docker@default:~$ cat /Users/*/cache.test
test AAAAdocker@default:~$

Need to remount to fix the issue

docker@default:~$ sudo mount -o remount,rw /Users
docker@default:~$ cat /Users/*/cache.test
test BBBB

Whats going on here?!

@ailispaw
Copy link

It seems a VirtualBox Guest Additions issue.
https://www.virtualbox.org/ticket/14746
There is a workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants