Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    Maybe CMD /home/simple/Main ?
    – harrymc
    Commented Sep 21, 2018 at 8:25
  • I have tried.It still reports the same error. Commented Sep 21, 2018 at 8:28
  • 1
    Better show us the contents of your folder.
    – harrymc
    Commented Sep 21, 2018 at 9:39
  • Ok so i found the problem.Apparently the COPY command does not work.I have used as an entrypoint ENTRYPOINT ["ls","-l","/home/simple/"] and there are no files in.I have also tried the ADD src dest version and still it does not copy anything in the image. Commented Sep 21, 2018 at 9:46
  • 1
    Maybe add WORKDIR /home/simple. Or your current path is wrong.
    – harrymc
    Commented Sep 21, 2018 at 9:58