Page History
...
- by default from the respective
Dockerfile
that creates the image. - at run-time by the respective
entrypoint.sh
script:- The script can switch user account if started from the root account.
- The script will use the indicated account if started from a non-root account.
- individually if users create their own
Dockerfile
,entrypoint.sh
script and image, see JS7 - Build Docker Container Images.
Consider changes to the start-up of JS7 containers:
...
- Users are free to specify any user account for which the container will be started and operated. Alternatively, This includes to specify temporary user accounts can be specified.
- The user account specified has to be assigned the root group.
- For OpenShift® policies see Adapting Docker and Kubernetes containers to run on Red Hat OpenShift Container Platform
...
Find examples for user account settings using the Docker® run
command:
Code Block | ||||
---|---|---|---|---|
| ||||
# specify the account's User ID and the Group ID of the root account docker run --user="100000:0" |
...
Overview
Content Tools