LoginSignup
0
0

More than 1 year has passed since last update.

docker-compose exec コマンド で OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH

Posted at

問題

docker-compose exec app bash

としたら

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH

というエラーが出た

解決法

bashではなく sh か /bin/sh を使う

docker-compose exec app sh
または
docker-compose exec app /bin/sh
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0