This commit is contained in:
dylan
2026-01-09 18:07:41 +08:00
parent 57ddc4af4d
commit 6d34ef305f
157 changed files with 0 additions and 2031 deletions

View File

@@ -0,0 +1,25 @@
> 作者:丁辉
# 更新Docker-compose部署的应用
> 进入到你 docker-compose 所在的文件夹下,执行
1. 拉取最新镜像
```bash
docker-compose pull
```
2. 使用新镜像重启容器
```bash
docker-compose up -d --remove-orphans
```
3. 清理旧容器残留镜像
```bash
docker image prune
```