Closed5

executable file not found in $PATH: unknown

tkttkt
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "entrypoint-dev.sh": executable file not found in $PATH: unknown
ERROR: 1

entrypoint を読み込めない

tkttkt
docker-compose run --rm app /bin/bash
Creating ateaparty-reminder_app_run ... done
node@eb6f46ca0ce7:/app$ ls
Dockerfile   dist               jest.config.js  node_modules       package.json  tsconfig.json
codegen.yml  entrypoint-dev.sh  lib             package-lock.json  src
node@eb6f46ca0ce7:/app$ ls -la | grep entry
-rwxr-xr-x  1 node node    581 Feb 23 09:53 entrypoint-dev.sh
tkttkt
node@eb6f46ca0ce7:/app$ chmod u+x entrypoint-dev.sh
node@eb6f46ca0ce7:/app$ entrypoint-dev.sh
bash: entrypoint-dev.sh: command not found

executable にならない

tkttkt
node@eb6f46ca0ce7:/app$ chmod u+x entrypoint-dev.sh
node@eb6f46ca0ce7:/app$ entrypoint-dev.sh
bash: entrypoint-dev.sh: command not found
node@eb6f46ca0ce7:/app$ ./entrypoint-dev.sh 

./ つけたらいけた

このスクラップは2022/02/23にクローズされました