Skip to content

Commit 2218576

Browse files
author
KimJungWha
authored
Update README.md
1 parent c0b5d04 commit 2218576

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@
3030
- *注意*:必须让autochaoxing.exe、logindata.txt和chromedriver.exe在**同一目录下**才可执行
3131

3232
- [**懒人通道**](https://github.com/Luoofan/autochaoxing/releases):发布了win10x64下的打包程序,直接下载运行即可刷课
33+
## 关于autocx
34+
autocx是autochaoxing的Docker版本,是在作者[@Luoofan](https://github.com/Luoofan)老哥耐心的指导和帮助下,我们成功制作了这个开箱即用的镜像。[项目地址](https://hub.docker.com/r/kimjungwha/autocx)
35+
### 当您pull镜像后,只需进行以下几步:
36+
- 以特权模式运行容器
37+
`docker run -it --name autocx --privileged autocx bash`
38+
- 按照提示修改logindata.txt里的信息
39+
`vim logindata.txt`
40+
- 运行脚本
41+
`python3 autocx_docker.py`
42+
### 关于镜像的详细说明:
43+
 autocx镜像基于`debian:buster-slim` 只替换了网易源、添加了脚本运行所需的环境,其余均与官方保持一致。其中内置了sudo、vim,默认用户/密码均为autocx,默认workdir为/home/autocx/
44+
 因为内置了py3、chromium,还有我本人水平限制,目前的镜像足足700+M,随着脚本的更新,我会尽量使它变得更加完美小巧,同时也欢迎各位大佬来群里指导,吹水啊!
45+
### 如果遇到问题:
46+
1. 请检查容器是否以特权模式运行。
47+
2. 检查容器内使用账户是否为autocx ( chromium默认禁止root用户运行)
48+
3. 如果以上步骤均无法解决问题,请把workdir下chaoxing.txt反馈给[@Luoofan](https://github.com/Luoofan)老哥,帮助他排除bug
3349

3450
## 功能支持
3551

0 commit comments

Comments
 (0)