Forum Discussion

sdas's avatar
sdas
New Contributor
4 years ago
Solved

Docker image with non-root user

I downloaded the docker image  smartbear/ready-api-soapui-testrunner  from docker hub. It looks like it runs as root user. I would like to run the application as a non-root user. Is that possible?
  • JKolosova's avatar
    4 years ago

    Hi sdas,

    Currently, the SoapUI Docker container requires root permissions, indeed, while by default, OpenShift does not allow containers to run as root.

    If you use OpenShift Container Platform (the self-hosted solution), you can use a workaround described in this article:
    https://blog.openshift.com/getting-any-docker-image-running-in-your-own-openshift-cluster

    If you use OpenShift Online or OpenShift Dedicated, you would need to wait for SmartBear to provide an image that does not require the container to run as root - we have registered a corresponding enhancement for this: RIA-12792.

    Hope this information helps.