forked from rubyangxg/jd-qinglong
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yangxg
committed
Sep 23, 2021
1 parent
8edd9d0
commit b6de505
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
安装教程: | ||
1. 确保docker.sock存在(只要安装了docker一般都会有) | ||
``` | ||
ls -alh /var/run/docker.sock | ||
srw-rw---- 1 root root 0 Sep 21 19:46 /var/run/docker.sock | ||
``` | ||
2. 下载chrome镜像(仅需执行一次,后续更新不用重新下载) | ||
``` | ||
sudo docker pull selenoid/chrome:89.0 | ||
``` | ||
3. 下载rubyangxg/jd-qinglong镜像 | ||
``` | ||
sudo docker pull rubyangxg/jd-qinglong:1.1 | ||
``` | ||
4. 启动 | ||
``` | ||
sudo docker run -d -p 5701:8080 --name=webapp --privileged=true \ | ||
-e "SE_NODE_MAX_SESSIONS=8" | ||
-v /var/run/docker.sock:/var/run/docker.sock \ | ||
-v /[你的路径]/env.properties:/env.properties:ro \ | ||
rubyangxg/jd-qinglong:1.1 | ||
``` | ||
例如: | ||
``` | ||
sudo docker run -d -p 5701:8080 --name=webapp --privileged=true \ | ||
-e "SE_NODE_MAX_SESSIONS=8" \ | ||
-v /var/run/docker.sock:/var/run/docker.sock \ | ||
-v "$(pwd)"/env.properties:/env.properties:ro \ | ||
rubyangxg/jd-qinglong:1.1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters