user property

String? user
final

The user to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. You can specify the user using the following formats. If specifying a UID or GID, you must specify it as a positive integer.

  • user
  • user:group
  • uid
  • uid:gid
  • user:gid
  • uid:group

Implementation

final String? user;