Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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:

...

...

Find examples for user account settings using the Docker® run command:

Code Block
languageyml
titleOperate container for a specific user account which is assigned the root group (recommended)
# specify the account's User ID and the Group ID of the root account
docker run --user="100000:0"

...