Update README files to reflect changes from anon-kode to kode in Docker setup instructions

This commit is contained in:
glide-the 2025-08-13 01:29:04 +08:00
parent 3b44c1658a
commit e768c01010
2 changed files with 6 additions and 6 deletions

View File

@ -79,8 +79,8 @@ The Docker setup includes:
- **Volume Mounts**:
- `$(pwd):/workspace` - Mounts your current project directory
- `~/.kode:/root/.kode` - Preserves your anon-kode configuration directory between runs
- `~/.kode.json:/root/.kode.json` - Preserves your anon-kode global configuration file between runs
- `~/.kode:/root/.kode` - Preserves your kode configuration directory between runs
- `~/.kode.json:/root/.kode.json` - Preserves your kode global configuration file between runs
- **Working Directory**: Set to `/workspace` inside the container
@ -88,7 +88,7 @@ The Docker setup includes:
- **Cleanup**: `--rm` flag removes the container after exit
**Note**: Anon Kode uses both `~/.kode` directory for additional data (like memory files) and `~/.kode.json` file for global configuration.
**Note**: Kode uses both `~/.kode` directory for additional data (like memory files) and `~/.kode.json` file for global configuration.
The first time you run the Docker command, it will build the image. Subsequent runs will use the cached image for faster startup.

View File

@ -77,8 +77,8 @@ docker run -it --rm \
* **卷挂载Volume Mounts**
* `$(pwd):/workspace` - 挂载当前项目目录
* `~/.kode:/root/.kode` - 在运行间保留 anon-kode 配置目录
* `~/.kode.json:/root/.kode.json` - 在运行间保留 anon-kode 全局配置文件
* `~/.kode:/root/.kode` - 在运行间保留 kode 配置目录
* `~/.kode.json:/root/.kode.json` - 在运行间保留 kode 全局配置文件
* **工作目录**:容器内工作目录设置为 `/workspace`
@ -87,7 +87,7 @@ docker run -it --rm \
* **清理**:使用 `--rm` 在退出后自动删除容器
**注意**
Anon Kode 同时使用 `~/.kode` 目录(存放额外数据,如内存文件)和 `~/.kode.json` 文件(全局配置)。
Kode 同时使用 `~/.kode` 目录(存放额外数据,如内存文件)和 `~/.kode.json` 文件(全局配置)。
第一次运行 Docker 命令时会构建镜像,之后的运行会使用缓存镜像以加快启动速度。