Closed damiensprinkle closed 1 year ago
@damiensprinkle containers are stateless, all state should be hosted outside of containers. So Selenoid when running in container is always expecting config file to be mounted to /etc/selenoid/browsers.json
inside container. Outside of container CM tool is usually generating such file to ~/.aerokube/selenoid/browsers.json
. So that's the expected behavior. Make sure you really have such file on filesystem.
@vania-pooh Yeah the folder structure exists and the file is created at ~/.aerokube/selenoid/browsers.json in my case "home" is "/home/build_azpcontainer"
I ran "cat ~/.aerokube/selenoid/browsers.json" and the browsers.json file contents were returned as expected . So if the file exists in the correct location, why would it not be mounted inside the container?
@damiensprinkle probably some security settings in Docker or SELinux or similar stuff.
I'm trying to setup selenoid on an azure build agent using the following commands
This seems to work, all the brower images are downloaded etc. However when I look at the container logs I see the following message
After looking into it further I can see the browsers.json file is being saved into a different home directory on the build agent
Has anyone seen this before or have any idea why this is happening?
Note: I am using the latest version of the linux_amd64 cm