docker-robot-framework
docker-robot-framework copied to clipboard
Getting issue during Docker Run : "exec: \"run-tests-in-virtual-screen.sh\": executable file not found in $PATH": unknown
First Step: Docker Image created with tag d-rt-fr. Successfully image creation done.
Second Step: docker run -v pwd/reports:/opt/robotframework/reports:Z -v pwd/test:/opt/robotframework/tests:Z -e BROWSER=chrome d-rt-fr:latest
Error found: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "run-tests-in-virtual-screen.sh": executable file not found in $PATH": unknown.
Something is not correct with your docker image or your docker image, does the default image work?
NO Default image is not working. There I am getting error too. [ ERROR ] Opening output file '/opt/robotframework/reports/output.xml' failed: PermissionError: [Errno 13] Permission denied: '/opt/robotframework/reports/output.xml'
What user are you using? https://github.com/ppodgorsek/docker-robot-framework#security-consideration will talk about the default user and how you can change it.
In case you would like to avoid changing the user running the instance, you can simply check the permissions of the current folder (pwd) and make sure user 1000:1000 has permissions to write in it and its reports/ subfolder.
What is the status of this issue? Has it been resolved and can it be closed?
Closing due to inactivity.