Open stilleshan opened 7 months ago
已上传
两个小问题
Dockerfile 路径错了,应该为:ADD . /icp_Api
另外就是 icpApi.py 里的 host = "127.0.0.1", 限制了无法通过容器外部访问,改为0.0.0.0才行。即使 -p 0.0.0.0:16181:16181 也无法访问。
curl http://127.0.0.1:16181/query/web?search=baidu.com
curl: (52) Empty reply from server
查看日志如下
请根据 isma.jpg 依次点击窗口中的汉字
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
你下错包了
尝试自己写了下 dockerfile,可以正常启动访问,但是使用一直提示 Cannot serialize non-str key False。 是有限制吗?还是说 docker 版不开源?