Closed toolness closed 8 years ago
Hmm so my uid on my OS X machine is 501, but the container says /var/p5.js
is owned by uid 1000.
I think this is happening because of funky docker-machine indirection.
However, it makes me realize that one easy way to do the UID switch, without needing to communicate it explicitly via HOST_UID
, is to simply stat
/var/p5.js
on container startup, and use the UID of its owner.
I was worried that OS X wouldn't be able to read files made with uid 1000 on the docker host, but VirtualBox seems to map everything back to my OS X user (uid 501) just fine! Woot!!
Um except now npm install
seems to be going in an infinite loop for some reason... oy
This is happening on my OS X machine: