1、現象
standard_init_linux.go:178: exec user process caused "no such file or directory"
2、原因
原因是鏡像的entrypoint設置的啟動腳本格式是dos,在linux系統上用vi修改成unix格式即可
1)用vi打開文件
2)執行 :set ff 然后回車,可以看到fileformat=dos
3)修改成unix
:set ff=unix 回車
1、現象
standard_init_linux.go:178: exec user process caused "no such file or directory"
2、原因
原因是鏡像的entrypoint設置的啟動腳本格式是dos,在linux系統上用vi修改成unix格式即可
1)用vi打開文件
2)執行 :set ff 然后回車,可以看到fileformat=dos
3)修改成unix
:set ff=unix 回車
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。