赞
踩
1、拉取镜像
docker pull onlyoffice/documentserver
2、创建文件夹
mkdir onlyoffice
cd onlyoffice
mkdir log
mkdir data
mkdir lib
mkdir db
3、运行镜像
sudo docker run -i -t -d -p 8081:80 --restart=always --name onlyoffice \
-v /root/onlyoffice/log:/var/log/onlyoffice \
-v /root/onlyoffice/data:/var/www/onlyoffice/Data \
-v /root/onlyoffice/lib:/var/lib/onlyoffice \
-v /root/onlyoffice/db:/var/lib/postgresql onlyoffice/documentserver
4、查看
查看127.0.0.1:8081
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。