evidence-dev / docker-devenv

This repo builds a Docker image whose container instances can be used as a development environment for Evidence projects via a mounted directory
MIT License
12 stars 6 forks source link

Bind mounted workspace not editable in host. #12

Open mgmorcos opened 1 year ago

mgmorcos commented 1 year ago

Both the Alpine and Ubuntu Evidence images use the root user, so the bind mounted workspace directory they create is owned by root and not able to be edited without root privileges in the host.

As a workaround, one can exec into a container shell prompt and do a recursive chown granting ownership to a host user-id and group-id.