这篇文章拖了太久没有写,很多细节已经忘了,罢了罢了,就这些吧……
docker-compose
文件概述https://github.com/ONLYOFFICE/Docker-CommunityServer
communityserver
容器的 systemd
特权的问题System has not been booted with systemd as init system (PID 1). Can't operate.
比较坑的是,对于 Ubuntu
22,有一条专门的提示并没有出现在docker-compose
文件中,而是隐蔽在大段说明的中间:
https://github.com/ONLYOFFICE/Docker-CommunityServer/commit/bec2c1f9bb2d6dc4b2027f03c4b6808ea5e5449a
For working on
Ubuntu 22.04
andDebian 11
or later, you need to use docker-compose versions v2.16.0 or later and uncomment the cgroup line in the yml file
似乎不识别*.ttc
字体。