---
title: "Discussion on \"exec /entrypoint.sh: no such file or directory\" (but the file is right there)\" | Hashnode"
description: "Discussion on \"exec /entrypoint.sh: no such file or directory\" (but the file is right there)\". You copy entrypoint.sh into the image, set it as the ENTRYPOINT, build, run, and get:\n$ docker run --rm crlf-demo\nexec /entrypoint.sh: no such file or directory\n\nYou open a shell in the image and the"
url: "https://hashnode.com/posts/exec-entrypoint-sh-no-such-file-or-directory-but-the-file-is-right-there/6aed27ddab1252ef8789522f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [exec /entrypoint.sh: no such file or directory" (but the file is right there)](https://anders.hashnode.dev/exec-entrypoint-sh-no-such-file-or-directory-but-the-file-is-right-there?utm_source=hashnode&utm_medium=feed)

You copy entrypoint.sh into the image, set it as the ENTRYPOINT, build, run, and get: $ docker run --rm crlf-demo exec /entrypoint.sh: no such file or directory You open a shell in the image and the

Nov 6 · 4 min read · anders.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#windows](https://hashnode.com/tag/windows)
-   [#bash](https://hashnode.com/tag/bash)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[anders lee](https://hashnode.com/@anderslee)

@anderslee

  
[View profile](https://hashnode.com/@anderslee)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
