我正在使用docker和dokku。尝试使用https://github.com/leafo/heroku-buildpack-lua/调试问题。是否可以查看和检查 docker 容器的内容?
vagrant@dokku:~$ dokku logs dokku.me -t
/app/.profile.d/config_vars: line 3: /app/packages/lib/lua/5.1/?.so: No such file or directory
/app/.profile.d/config_vars: line 4: /app/packages/share/lua/5.1/?.lua: No such file or directory
/app/.profile.d/config_vars: line 4: /app/packages/share/lua/5.1/?/init.lua: No such file or directory
lua: /app/bin/lapis:3: module 'lapis.cmd.actions' not found:
no field package.preload['lapis.cmd.actions']
no file './lapis/cmd/actions.lua'
no file '/usr/local/share/lua/5.1/lapis/cmd/actions.lua'
no file '/usr/local/share/lua/5.1/lapis/cmd/actions/init.lua'
no file '/usr/local/lib/lua/5.1/lapis/cmd/actions.lua'
no file '/usr/local/lib/lua/5.1/lapis/cmd/actions/init.lua'
no file './lapis/cmd/actions.so'
no file '/usr/local/lib/lua/5.1/lapis/cmd/actions.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './lapis.so'
no file '/usr/local/lib/lua/5.1/lapis.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/app/bin/lapis:3: in main chunk
[C]: ?
我建议将lapis安装在 lua 加载路径之外的某个地方。
谢谢!