Skip to content

Handling of write permissiong to docker's /data volume  #28

@biocyberman

Description

@biocyberman

Currently I have to set world-writable for host user data directory so that docker can write to this via data volume. So I propose the following solution so that docker can have the same read/write permission as the docker running user has:

Aim: to match userid and groupid of viral-ngs-user inside docker to host's current running user.

In order to do that, viral-ngs installation location inside docker should be moved to system-wide location, for example /opt. We can then move the creation of viral-ngs-user to the ENTRYPOINT script env-wraper.sh, and so that userid and groupid can be matched during docker image startup. In doing so, su-exec tool might be needed. Do you think this is worth doing @tomkinsc ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions