docker pull onlyoffice/documentserver:7.1.1
docker run -i -t -d -p 8080:80 --name=onlyoffice --privileged=true \
-v /soft/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /soft/onlyoffice/DocumentServer/sdkjs- plugins:/var/www/onlyoffice/documentserver/sdkjs-plugins/plugin \
-v /soft/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver:7.1.1
docker exec -it onlyoffice /bin/bash
tail -f /var/log/onlyoffice/documentserver/docservice/out.log
访问页面http://ip:8080/welcome/
根据页面提示执行两个语句,会创建样例
然后点击按钮前往样例,然后就可以新建文档,导出下载等正常的功能了。