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 https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors
{
"registry-mirrors": ["https://registry.docker-cn.com", "https://hub.docker.com", "https://*********.mirror.aliyuncs.com"]
}
# 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 :https://github.com/ONLYOFFICE/Docker-CommunityServer

copyright:author[goodlook0123],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130816026246.html