Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to run with docker compose: browsers config: read error: read /etc/selenoid/browsers.json: is a directory #1439

Open
hailinh2910 opened this issue Oct 8, 2024 · 0 comments

Comments

@hailinh2910
Copy link

when I run with cmd: docker run -d --name selenoid -v C:/Users/PC/.aerokube/selenoid:/etc/selenoid:ro -p 4444:4444 aerokube/selenoid:1.11.3.
It can run but when I config docker compose to run:

services:
selenoid:
image: aerokube/selenoid:1.11.3
container_name: selenoid
ports:
- "4444:4444"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /c/Users/PC/.aerokube/selenoid:/etc/selenoid:ro
- /c/Users/PC/.aerokube/selenoid/logs:/opt/selenoid/logs
- /c/Users/PC/.aerokube/selenoid/video:/opt/selenoid/video
environment:
- OVERRIDE_VIDEO_OUTPUT_DIR=/opt/selenoid/video/
command: ["--conf", "/etc/selenoid/browsers.json"]

I got error: [INIT] [/usr/bin/selenoid: browsers config: read error: read /etc/selenoid/browsers.json: is a directory]

How can I fix that! I spend a lot of time but I can't. I sure path C:\Users\PC.aerokube\selenoid have browsers.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant