Skip to content

Support specifying a user under which to run the container #135

Open
@nhavens

Description

@nhavens

I'd like to be able to use tox-docker both to test via Jenkins as well as to test on my local machine. tox will run as a different user in each of these environments. To get the correct file permissions on any files created on volume mounts, I'd like to be able to specify the user under which to run the container. Without this, when I volume mount the directory from which tox runs and any files get created by the container with root ownership (I'm running as root in the container), the next Jenkins job's deleteDir() will fail with permission denied errors.

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