Repository navigation
Does it work headless, in CI or in Docker? #43
Answered
by
bisma-nawazz
bisma-nawazz
asked this question in
Q&A
|
I want to run this in CI or in a container. Is headless supported, and is there anything to know for Docker? |
Answered by
bisma-nawazz
Nov 9, 2026
Replies: 1 comment
|
Yes. Create a headless profile with To test your own app, point it at your dev server: |
0 replies
Answer selected by
bisma-nawazz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Create a headless profile with
browser profiles create ci --browser chromium --headless. In Docker, Chromium's sandbox needs user namespaces, which the default seccomp profile blocks, so run the container with--security-opt seccomp=unconfinedor--cap-add SYS_ADMIN. Chromium then starts with its sandbox on, and Browser CLI keeps it that way.To test your own app, point it at your dev server:
browser start --url http://localhost:3000. The browser runs on your machine, so it reaches local apps with no tunnel.