Skip to content
Aislin edited this page Jul 8, 2025 · 1 revision

Docker运行方法

前提:

如果您不清楚我在说什么,请按照以下指示:

步骤

  1. 打开终端

  2. 克隆项目

git clone https://github.com/mikumifa/biliTickerBuy.git
  1. cd到项目中
cd biliTickerBuy

⚠️ 确保您已经打开下载好的DockerDesktop软件 ⚠️

  1. 回到终端

  2. 构建 Docker 镜像:

docker build -t koishiii/bilitickerbuy . 
  1. 运行 Docker 容器:
docker run -p 7860-7889:7860-7889 -p 5900:5900 --name bilitickerbuy koishiii/bilitickerbuy  

当您看到您的终端出现类似

xx年xx月xx日 xx时xx分xx秒 INFO Set uid to user 0 succeeded
xx年xx月xx日 xx时xx分xx秒 INFO supervisord started with pid 1
xx年xx月xx日 xx时xx分xx秒 INFO spawned: 'xvfb' with pid 7
xx年xx月xx日 xx时xx分xx秒 INFO spawned: 'fluxbox' with pid 8
xx年xx月xx日 xx时xx分xx秒 INFO spawned: 'x11vnc' with pid 9
xx年xx月xx日 xx时xx分xx秒 INFO spawned: 'app' with pid 10
xx年xx月xx日 xx时xx分xx秒 INFO reaped unknown pid 36 (exit status 127)
xx年xx月xx日 xx时xx分xx秒 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
xx年xx月xx日 xx时xx分xx秒 INFO success: fluxbox entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
xx年xx月xx日 xx时xx分xx秒 INFO success: app entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
xx年xx月xx日 xx时xx分xx秒 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 5 seconds (startsecs)

的输出时,恭喜您,您成功打开了应用。

  1. 现在,请打开您的浏览器,进入http://localhost:7860/,按照网站指示继续即可。

MacOS M系/Linux/Docker特殊的部分到此完结,更多教程请前往:https://n1x87b5cqay.feishu.cn/wiki/Eg4xwt3Dbiah02k1WqOcVk2YnMd

Clone this wiki locally