私はドッカーイメージubuntu:trusty
を使用してentrypoint.sh
ファイルを持っていますがDockerfile
でエントリポイントスクリプトのドッカーエラー:「いいえそのようなファイルやディレクトリは」
#!/bin/bash
. /appenv/bin/activate
exec [email protected]
が含まれているエントリポイントスクリプトの
ADD scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
が含まれていますエラーが発生しましたexec user process caused "no such file or directory"
Windows上でDockerインスタンスを実行していますか? –
ウィンドウズにはありません。 – nikolas
エントリポイントは 'ENTRYPOINT [" ./ entrypoint.sh "]'または 'ENTRYPOINT [" sh "、" entrypoint.sh "]' – user2915097