StackShelf
Dockerエラー エラー解決

OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found の原因と解決法

OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found の原因と具体的な解決手順をまとめました。

1分で読める
dockerDockerエラーOCI runtime create failedDockerpostgresOCI runtime create failed: runc create f

エラーメッセージ(全文)

OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found

このエラーとは

OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found は Docker 開発でよく遭遇するエラーです。

想定環境: Windows / macOS / Linux

よく出る状況: Docker / Compose

よくある原因

  • リソース
  • 設定
  • イメージ

解決方法

方法1: docker logs

docker logs app-11 --tail 100

それでも直らないとき

バージョン情報(Docker のバージョン、OS、実行コマンド)を添えて、エラーメッセージ全文と直前に変更した点を確認してください。ログの数行上にも原因の手がかりが残っていることが多いです。

まとめ

「OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found」は リソース が原因のことが多いです。上記の手順で切り分けてください。

次にやること

同じ Docker カテゴリの関連エラーもあわせて確認してください。

よくある質問

OCI runtime create failed: runc create failed: unable to start container proc… とは何ですか?

OCI runtime create failed: runc create failed: unable to start container process: exec: "npm": executable file not found は Docker 実行時に表示されるエラーです。リソース

OCI runtime create failed: runc create failed: unable to start container proc… の原因は?

リソース。設定。イメージ。

OCI runtime create failed: runc create failed: unable to start container proc… の直し方は?

docker logs:docker logs app-11 --tail 100

Docker で OCI runtime create failed が出るのはなぜ?

Docker / Compose

OCI runtime create failed: runc create failed: unable to start container proc… を防ぐには?

次に読むべき記事

同カテゴリ「Dockerエラー」の記事

学習ルート

体系的に学びたい方はこちらから。

エラー・トラブル集で続きを探す →

あわせて読みたい