mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
docs(README): 更新 Docker 使用说明
- 在 TUI 和 API 模式的 Docker 命令中添加了 --name 参数,用于指定容器名称 - 在命令中添加了 -p 参数,用于映射主机端口和容器端口
This commit is contained in:
parent
69362e1f80
commit
2fc168f8fd
@ -83,8 +83,8 @@
|
||||
</ul>
|
||||
<li>创建容器</li>
|
||||
<ul>
|
||||
<li>TUI 模式:<code>docker run -it joeanamier/xhs-downloader</code></li>
|
||||
<li>API 模式:<code>docker run -it joeanamier/xhs-downloader python main.py server</code></li>
|
||||
<li>TUI 模式:<code>docker run --name 容器名称(可选) -p 主机端口号:8000 -it joeanamier/xhs-downloader</code></li>
|
||||
<li>API 模式:<code>docker run --name 容器名称(可选) -p 主机端口号:8000 -it joeanamier/xhs-downloader python main.py server</code></li>
|
||||
</ul>
|
||||
<li>运行容器
|
||||
<ul>
|
||||
|
||||
@ -84,8 +84,8 @@
|
||||
</ul>
|
||||
<li>Create Container</li>
|
||||
<ul>
|
||||
<li>TUI Mode: <code>docker run -it joeanamier/xhs-downloader</code></li>
|
||||
<li>API Mode: <code>docker run -it joeanamier/xhs-downloader python main.py server</code></li>
|
||||
<li>TUI Mode: <code>docker run --name ContainerName(optional) -p HostPort:8000 -it joeanamier/xhs-downloader</code></li>
|
||||
<li>API Mode: <code>docker run --name ContainerName(optional) -p HostPort:8000 -it joeanamier/xhs-downloader python main.py server</code></li>
|
||||
</ul>
|
||||
<li>Run Container
|
||||
<ul>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user