Docker building online office -- onlyoffice (II)

goodlook0123 2022-02-13 08:16:04 阅读数:723

docker building online office onlyoffice

docker obtain communityserver

docker pull onlyoffice/communityserver

Pulling communityserver The time report timeout cannot be pulled , Replace the Alibaba image source

# Edit mirror source address
vim /etc/docker/daemon.json
# Add an alicloud address , Register
"registry-mirrors": ["", "", "https://*********"]
# Refresh docker Mirror source
systemctl daemon-reload
# restart docker Mirror source
systemctl restart docker


After changing the image, pull the file swish fast !!!


Download speed


Create a container :

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

Start the container




thus onlyofficeCcommunityserver The community version has been built

One of them encountered a missing database field 、 surface 、 Data problems : I have exported the data , Move here

If there is a problem with the scheme , You can refer to the scheme :

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