Docker building online office -- onlyoffice (I)

goodlook0123 2022-02-13 08:16:08 阅读数:786

docker building online office onlyoffice

Recent projects need the function of editing documents online , It can be considered after investigation Zhuozheng pageofficeonlyoffice Imagination office、NKeditor、Spire.CloudWebSync

This paper is the verification stage , see onlyoffice Whether it is suitable for the company's project needs , The following is a simple startup onlyoffice

obtain docker Mirror image

# lookup
docker search onlyoffice
# Pull
docker pull onlyoffice/documentserver


Create a container : Mounted to the local home Catalog , Mapping native 9000 port

sudo docker run -i -t -d -p 9000:80 --privileged=true \
-v /home/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /home/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver

Start the container ( Containers id:315947400c00)

docker start 77ba0f2ea585

Check whether the log is started successfully ( Containers id:315947400c00)

docker logs --since 30m 315947400c00

Login address started successfully :

copyright:author[goodlook0123],Please bring the original link to reprint, thank you.