Docker building online office -- onlyoffice (III)

goodlook0123 2022-02-13 08:16:03 阅读数:673

docker building online office onlyoffice

To configure onlyoffice


Configure Fonts , Default onlyoffice Support for Chinese is not very good

Enter the container and the font copy To directory , And execute the command to compile it

# Copy files to docker Of /usr/share/fonts/truetype/custom Catalog , I am from /home Catalog copy In the past
docker cp /home/fonts/ Containers id:/usr/share/fonts/truetype/custom
# Into the container
docker exec -it Containers id /bin/bash
# Get into /usr/bin Catalog
cd /usr/bin
# compile

Execute the following screenshot :


Restart the container

docker restart Containers ID

Open the document again to see the imitation song Song style Elegant black




Reference documents :



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