Error CannotStartContainerError: CannotStartContainerError: hcs::System::CreateProcess: "cmd /S /C powershell -File c:\inetpub\wwwroot\script.ps1" Id: The system cannot find the file specified.: unknown #1230
              
                Unanswered
              
          
                  
                    
                      pamorales24
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| 
         Hi @pamorales24, What is the specific image tag and digest that you're using?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Docker file with this ENTRYPOINT
ENTRYPOINT powershell -File c:\inetpub\wwwroot\script.ps1It works in my Docker Desktop local computer
But when I try to run the image in AWS EC2 I get the following error.
Error CannotStartContainerError: CannotStartContainerError: hcs::System::CreateProcess: "cmd /S /C powershell -File c:\inetpub\wwwroot\script.ps1" Id: The system cannot find the file specified.: unknownWhat could be the root cause?
Regards
Beta Was this translation helpful? Give feedback.
All reactions