Run with a Custom User ID

Some execution environments assign a specific user ID to the container process. This can be required in Kubernetes, OpenShift, or other managed container platforms.

Use Docker’s --user option to run the container with a specific user ID and group ID.

Example

Copy
docker run --rm -t \
    --user 5000:5000 \
    -e LICENSE_USER=<your_user_name> \
    --mount type=bind,source=/path/to/project_folder,target=/data \
    --mount type=bind,source=/path/to/network.lic,target=/license/network.lic,readonly \
    ascmo_image compute /data/my_project.docker.moca

Make sure that the selected user ID has write access to the mounted result folder.