Upgrade Document Preview Service
-
Pull the mirror of the target version on the host where the document preview service is deployed (Offline Package);
- Linux amd64
- Linux arm64
docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:<version>docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc-arm64:<version> -
Modify the version of the corresponding mirror in the
doc.yaml; -
Restart the service
First, stop the service:
docker stack rm docWait until the docker ps command no longer shows the doc container, then proceed to start the service again:
docker stack deploy -c doc.yaml doc