Skip to main content

Upgrade Document Preview Service

  1. Pull the mirror of the target version on the host where the document preview service is deployed (Offline Package);

    docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:version
  2. Modify the version number of the corresponding mirror in the doc.yaml;

  3. Restart the service

    First, stop the service:

    docker stack rm doc

    Wait 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