Bind mount permissions - unexpected mounting as root:root

Yes! This was exactly the issue using Ubuntu as a host, installing Docker Desktop and not understanding why Docker keeps setting bind-mounted folders and their contents to be user- and group-owned by root. Using the “default” context with docker context use default switched back to Docker CE and restored the expected behavior of files retaining the ownership defined on the host.

1 Like