chaleaoch
V2EX  ›  Docker

问: 同一个镜像文件在不同的宿主机下表现不同, 是什么原因?

  •  
  •   chaleaoch · Dec 13, 2024 · 2105 views
    This topic created in 695 days ago, the information mentioned may be changed or developed.

    wkhtmltopdf exited with non-zero code 127. error:\n/usr/bin/wkhtmltopdf: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

    宿主机不同, 同一个镜像. 一个报错. 一个运行成功.

    3 replies  •  2024-12-16 13:11:52 +08:00
    qq296015668
    qq296015668
    Dec 13, 2024
    1
    复现发出来看看,有点好奇
    2Nfree
    2Nfree
    Dec 14, 2024
    2
    用容器运行的时候,一些标准依赖库还是使用的宿主机的,所以和宿主机中的依赖库版本有一定的关系
    heartleo
    heartleo
    Dec 16, 2024
    3
    什么镜像?启动参数?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   699 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:52 · PVG 01:52 · LAX 09:52 · JFK 12:52
    ♥ Do have faith in what you're doing.