top | item 45596849

(no title)

craigds | 4 months ago

Dovker on mac has one killer feature though: bindmounts remap permissions sensibly so that uid/gid in the container is the correct value for the container rather than the same uid/gid from the host.

the workarounds on the internet are like "just build the image so that it uses the same uid you use on your host" which is batshot crazy advice.

i have no idea how people use docker on other platforms where this doesn't work properly. One of our devs has a linux host and was unable to use our dev stack and we couldn't find a workaround. Luckily he's a frontend dev and eventually just gave up using the dev stack in favour of running requestly to forward frontend from prod to his local tooling.

discuss

order

No comments yet.