制作镜像后启动容器就报错

报错:standard_init_linux.go:208: exec user process caused "no such file or direct

网上都说:文件格式问题,但是咱没有这个问题是unix格式。

经过排查问题是基础镜像的问题,dockerfile里的from alpine:latest,alpine:latest就有这个问题,改成centos后就没问题了

查看文件格式linux命令:set ff             

相关文章:

  • 2022-02-19
  • 2021-12-24
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2021-07-27
  • 2022-02-18
  • 2022-03-01
  • 2021-05-28
  • 2021-10-10
  • 2021-12-30
  • 2022-02-09
相关资源
相似解决方案