
docker pull browserstack/localdocker run -it browserstack/local --key <browserstack local testing access key>docker run -it -p 127.0.0.1:45691:45691 -p 127.0.0.1:45690:45690 -p 127.0.0.1:45454:45454 -p 127.0.0.1:45954:45954 browserstack/local --key <access key>In order to run binary with custom arguments one can simply run the binary as follows.
docker run browserstack/local <arguments>
Eg . Running binary inside container with force local and verbose 3 enabled
docker run -it browserstack/local --key=<access key> --verbose 3 --force-local
BS_KEY env variable inside the image itself.docker build -t <image tagname> <path to dockerfile>Since the binary is running inside the docker container, it would try to resolve all the host requests internally. Following methods can be used in order to overcome this limitation.
Method 1
For Linux
Run the docker container with the following flag –net=host. By setting this flag the container’s network stack is not isolated from the Docker host. ( For additional information refer here).
Running container with host netwroking
docker run --net=host -it browserstack/local <arguments>
For Mac and Windows
host.docker.internal. (For additional information refer here ( mac | windows ).Method 2
Run the server on a public interface (eg. 0.0.0.0 ) and use the public address in your test scripts. (Disclaimer : Please do understand the risk of running a service on public interface before following this method ).
Where can I find the Dockerfiles?
Can I run live and app-live using the binary running inside the container?
docker run -it -p 127.0.0.1:45691:45691 -p 127.0.0.1:45690:45690 browserstack/local --key <access key>Can I access binary console dashboard from my host?
docker run -it -p 127.0.0.1:45454:45454 -p 127.0.0.1:45954:45954 browserstack/local --key <access key>


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务