lixuanyy
V2EX  ›  Docker

docker run 出错

  •  
  •   lixuanyy · Mar 29, 2020 via iPhone · 4839 views
    This topic created in 2237 days ago, the information mentioned may be changed or developed.
    docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/sbin/init\": stat /sbin/init: no such file or directory": unknown.
    

    这个是报的错!我也看了镜像,里面文件也没有问题,这个 init 文件在,可是就是启动不了,一直报错。在网上搜索了半天也没有找到有用的东西!

    2 replies    2020-03-29 15:20:09 +08:00
    Lonely
        1
    Lonely  
       Mar 29, 2020 via iPhone
    你把 dockerfile 、启动命令啥的都贴上来
    jpuyy
        2
    jpuyy  
       Mar 29, 2020
    一般 CMD 被当作 ENTRYPOINT 的参数了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5521 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 07:43 · PVG 15:43 · LAX 00:43 · JFK 03:43
    ♥ Do have faith in what you're doing.