V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lixuanyy
V2EX  ›  Docker

docker run 出错

  •  
  •   lixuanyy · 2020-03-29 06:32:05 +08:00 via iPhone · 4172 次点击
    这是一个创建于 1461 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2020-03-29 15:20:09 +08:00
    Lonely
        1
    Lonely  
       2020-03-29 12:25:50 +08:00 via iPhone
    你把 dockerfile 、启动命令啥的都贴上来
    jpuyy
        2
    jpuyy  
       2020-03-29 15:20:09 +08:00
    一般 CMD 被当作 ENTRYPOINT 的参数了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5301 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:20 · PVG 17:20 · LAX 02:20 · JFK 05:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.