wekan 的安装
1. 安装报错/etc/timezone/
1 | ERROR: for wekan-db Cannot start service wekandb: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/timezone" to rootfs at "/etc/timezone": mount /etc/timezone:/etc/timezone (via /proc/self/fd/6), flags: 0x5001: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type |
在centos 7.6系统中,/etc/timezone/是文件夹而不是文件。
添加echo 'Asia/Shanghai' > /etc/timezone/timezone
修改dockcer-compose.yml文件
1 | volumes: |
修改为
1 | volumes: |
2.修改 端口号
修改前
1 | - 80:8080 |
修改后
1 | - 8092:8080 |
3. 修改映射文件
可根据自己的需要,将wekan-db、wekan-dump 修改为宿主机的路径。
1 | - wekan-db:/data/db |
![](http://lovediary-oss.uilucky.com/blog/source/assets/blogimage/%E6%89%AB%E7%A0%81_%E6%90%9C%E7%B4%A2%E8%81%94%E5%90%88%E4%BC%A0%E6%92%AD%E6%A0%B7%E5%BC%8F-%E6%A0%87%E5%87%86%E8%89%B2%E7%89%88.png?x-oss-process=style/resize)
本文作者: NUK
最后更新: 2023年12月13日 17:35:03
本文链接: http://www.uilucky.com/post/b40bd6b5.html
版权声明: 本作品采用 CC BY-NC-SA 4.0 许可协议进行许可,转载请注明出处!