-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
It would be nice to allow starting a container with a non-root user.
On the Docker command line this is normally done with the "--user" argument:
--user 1000:1000
The container class should allow parameter like:
.withUser("1000:1000")
.withUid(1000)
.withGid(1000)
.withCurrentUid()
.withCurrentGid()The last two are convenience functions to simply use the current user's UID and GID (the user that is running the test).
PandarinDev, aloisgeith, dmatej and aradalvand
Metadata
Metadata
Assignees
Labels
No labels