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:
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).
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:
The container class should allow parameter like:
The last two are convenience functions to simply use the current user's UID and GID (the user that is running the test).