我正在使用以下 github 存储库在 kitematic 上设置图像对于 docker 。
https://github.com/tutumcloud/tutum-docker-lamp
https://github.com/tutumcloud/tutum-docker-wordpress
我将它们都安装为 imag。 docker-lamp 给了我一个 hello world 无法连接到本地 mysql 服务器,并且 wordpress 根本无法工作。
以下是按顺序排列的每个日志
灯日志
https://gist.github.com/anonymous/ad9c56cb817dd619caf8
wordpress 日志
最佳答案
Wordpress has an official image on docker hub/store 。如果你想使用它,最简单的方法是使用 kitematic v0.17.1(它在容器详细信息中有链接/网络选项卡),你甚至可以在 Linux 中运行它。您需要下载 Wordpress 和 Mariadb 容器,并在容器之间设置链接,将链接别名设置为“mysql”,以便 Wordpress 容器使用环境变量。
关于php - 尝试在 kitematic 上为 docker 设置 lamp 和 wordpress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26553716/