# Fastsdcpu-docker

1. 构建基础镜像

   ```bash
   docker build -t app:v1 .
   ```

2. 启动容器

   ```bash
   docker run -it --name fastsdcpu --net=host -v /root/fastsdcpu:/fastsdcpu -v /root/.cache:/root/.cache app:v1.0 bash
   ```

3. 初始化文件

   ```bash
   cd /fastsdcpu && git init
   git remote add origin https://github.com/rupeshs/fastsdcpu.git
   git pull origin main
   ```

4. 初始化数据

   ```bash
   chmod +x install.sh && ./install.sh
   ```

   ```bash
   ./start.sh
   ```

   ```bash
   ./start-webui.sh
   ```

   > 启动成功后访问页面, 生成一张图片以便下载 cache 数据

