Why won't my docker-entrypoint.sh execute?

前端 未结 11 1025
清歌不尽
清歌不尽 2021-01-31 08:02

My ENTRYPOINT script doesn\'t execute and throws standard_init_linux.go:175: exec user process caused \"no such file or directory\". Why so?

<
11条回答
  •  无人及你
    2021-01-31 08:19

    the vault:latest image does not contain /bin/bash which you try to call with your shebang #!/bin/bash. You should either change that to #!/bin/sh or completely remove the shebang from your script.

提交回复
热议问题