Allow Device Agent container to run not as root #342
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
needs-triage
Needs looking at to decide what to do
Description
Currently the device agent container runs as root
The working directory is
/opt/flowfuse-device
which is owned byroot:root
with permissiondrwxr-xr-x
This means only root can write to the working directory.
If the container is started with
--user uid:gid
other the0:0
then the device agent can not write the project dir, package.json or any of the other parts.Current work around would be to mount a volume that the supplied uid/gid can write to on
/opt/flowfuse-device
Requested By
The text was updated successfully, but these errors were encountered: