docker-compose安装libreoffice

2021/4/28 18:55:32

本文主要是介绍docker-compose安装libreoffice,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

version: '2'
services:
  libreoffice:
    image: libreoffice/online:latest
    volumes:
      - /docker/jenkins/jenkins:/var/jenkins_home
    ports:
      - "9980:9980"
    privileged: true
    user: root
    container_name: libreoffice
    environment:
      username: root
      password: 123456
      extra_params: --o:ssl.enable=false
      DONT_GEN_SSL_CERT: 1
    cap_add:
      - MKNOD
    restart:
      unless-stopped

参考文献:

https://blog.csdn.net/AMimiDou_212/article/details/105766141

https://blog.csdn.net/m673010624/article/details/104366590



这篇关于docker-compose安装libreoffice的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程