Skip to content

Docker安装的,如何升级? #445

Answered by yutianhot
yutianhot asked this question in Q&A
Discussion options

You must be logged in to vote

已解决。之前没发现。文档看到图片教程。 升级教程如下。

https://store.heytapimage.com/cdo-portal/feedback/202112/12/1e64956f796e95070bed2d7f2c61bdd5.png

  1. 列出alist的container

docker container ls

2.停止alist�

docker stop e3efc7507059

3.删除alist

docker rm e3efc7507059

4.拉取最新版alist

docker pull xhofe/alist:latest

5.运行alist

docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 --name="alist" xhofe/alist:latest

6.列出旧的包

docker images

7.删除旧的包

docker rmi 7e55f9e41cc2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xhofe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
duplicate This issue or pull request already exists finished Already over
1 participant