chaleaoch
V2EX  ›  Docker

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

  •  
  •   chaleaoch · Dec 13, 2024 · 1616 views
    This topic created in 526 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
        1
    qq296015668  
       Dec 13, 2024
    复现发出来看看,有点好奇
    2Nfree
        2
    2Nfree  
       Dec 14, 2024
    用容器运行的时候,一些标准依赖库还是使用的宿主机的,所以和宿主机中的依赖库版本有一定的关系
    heartleo
        3
    heartleo  
       Dec 16, 2024
    什么镜像?启动参数?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 42ms · UTC 06:03 · PVG 14:03 · LAX 23:03 · JFK 02:03
    ♥ Do have faith in what you're doing.