You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, containers run as root. A container running as root has full control of the host system. As container technology matures, more secure default options may become available. For now, requiring root is dangerous for others and may not be available in all environments. Your image should use the USER instruction to specify a non-root user for containers to run as. If your software does not create its own user, you can create a user and group in the Dockerfile.
Hi,
I'm running into this issue, has there been any resolution for this? I'm using the latest image from katalonstudio/katalon dockerhub repo.
It runs fine if I run the command for tests by a root user. but it fails with NullPointerException the moment I switch to any user or run it as a openshift pod(which runs it with a different user from root).
Any help will be appreciated please at this point.
By default, containers run as root. A container running as root has full control of the host system. As container technology matures, more secure default options may become available. For now, requiring root is dangerous for others and may not be available in all environments. Your image should use the USER instruction to specify a non-root user for containers to run as. If your software does not create its own user, you can create a user and group in the Dockerfile.
Source: https://redhatgov.io/workshops/security_containers/exercise1.2/
The text was updated successfully, but these errors were encountered: