1
0
-1

Graphviz 插件安装后无法正常显示图形,出现如上的错误提示。

    Comment添加您的评论…

    1答案

    1.  
      1
      0
      -1

      容器环境缺失 graphviz 组件导致

      docker exec -it wiki1 bash
      export REPO_MIRROR="http://mirrors.pku.edu.cn"
      sed -e "s@http://deb.debian.org@${REPO_MIRROR}@g"      \
       -e "s@http://security.debian.org@${REPO_MIRROR}@g"     \
       -e "s@^deb-src@# deb-src@g"       -i /etc/apt/sources.list
      apt-get install graphviz*


        Comment添加您的评论…