Skip to content

Commit

Permalink
hint for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe committed Nov 30, 2023
1 parent 32860cb commit 58ffc6d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ CentOS 8 [已于 2021-12-31 停止支持](https://www.centos.org/centos-linux-eo
如果你有 Linux 运维经验,Hydro 同样支持在 Alpine Linux 上运行,Alpine Linux 系统启动后仅占用 ~100M 内存,是在低配置服务器上运行的更优方案。
:::

:::warn
:::warning
虚拟机用户请注意:

- Hydro 使用的数据库依赖于 CPU 的 avx 指令集以提高运行性能,大部分虚拟机软件默认没有启用 avx 指令集,请参照您使用的虚拟机软件说明。
- 虚拟机由于非独占 CPU,会导致评测时间计量精度降低。
- 由于虚拟机本身的数据保存机制,突然断电很容易导致数据库损坏无法读取,请务必定期备份数据库,有条件请购买 UPS 保证供电稳定。

Docker 用户请注意:
- 使用安装脚本需要设置 `USER` 环境变量为 `root`
- 需要使用 `--privileged` 参数启动容器,否则评测机无法运行。
:::

## 部署
Expand Down

0 comments on commit 58ffc6d

Please sign in to comment.