Closed minhlongdo closed 7 years ago
This is being caused because you are using OpenShift Origin.
These particular templates were created for OpenShift Enterprise. The problem is, the newest version of Origin enforces a policy of an arbitrary user ID that has sudo'ers rather than running as root.
basically when openshift runs the docker containers, it doesn't run as root, it runs as an arbitrary user created automatically.
Even though i'm a committer to Selenium, i don't have access to the docker-selenium repository, but I do have a pull request in: https://github.com/SeleniumHQ/docker-selenium/pull/185
This pull request here ^ actually fixes this issue you are getting. In the meantime, if you want, instead of image: selenium/hub
use: image: ddavison/docker-selenium-ephemeral:latest
and it will fix the issue. that's a container I pushed myself until that pull requests gets merged in. I need to poke the guys again.
I've merged in https://github.com/SeleniumHQ/docker-selenium/pull/185 so this issue should no longer exist for the newer versions! 👍
Hi,
I appreciate that you are making you selenium template publicly available.
I was wondering if there are any special requirements to run to use template? The reason I am asking is because the pod is crashing with the following output:
Any help you could provide is appreciated.
Thanks, Minh