# 更新操作

## 使用 Docker 命令更新

可以将以下文件保存成 update-vertex.sh, 赋予执行权限后直接执行即可更新 端口、目录等内容根据自己的实际情况修改

```bash
#! /bin/bash

docker pull lswl/vertex:stable
docker rm -f vertex
docker run -d --name vertex -v /root/vertex:/vertex -p 3000:3000 lswl/vertex:stable
docker rmi $(docker images | grep 'none' | grep 'vertex' | awk '{print $3}')
```

## 群晖 Docker

停止容器, 注册表内拉取新的 lswl/vertex:stable 镜像, 返回容器列表右键容器重置然后启动即可

## UNRaid Docker

unraid 更新那可太简单了, 检查更新然后更新即可


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.vertex-app.top/xin-shou-ru-men/geng-xin-cao-zuo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
