创建azure容器实例时出现问题

创建azure容器实例时出现问题,azure,docker,dockerfile,azure-container-instances,azure-container-registry,Azure,Docker,Dockerfile,Azure Container Instances,Azure Container Registry,我能够运行docker图像和容器在本地正常工作 将docker映像推送到Azure容器注册表后,我尝试运行Azure容器实例并抛出以下错误。而PS文件位于WORKDIR中,其工作在本地。如果有人能帮忙就好了 Dockerfile WORKDIR c:/inetpub/wwwroot ENTRYPOINT powershell .\InitializeContainer 错误: .\InitializeContainer : The term '.\InitializeContainer

我能够运行docker图像和容器在本地正常工作

将docker映像推送到Azure容器注册表后,我尝试运行Azure容器实例并抛出以下错误。而PS文件位于WORKDIR中,其工作在本地。如果有人能帮忙就好了

Dockerfile

WORKDIR c:/inetpub/wwwroot
ENTRYPOINT powershell .\InitializeContainer
错误:

    .\InitializeContainer : The term '.\InitializeContainer' is not recognized as 
the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At line:1 char:1
+ .\InitializeContainer
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\InitializeContainer:String) [ 
   ], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

能否显示整个Dockerfile?能否尝试
powershell。\n初始化container.ps1
(adding.ps1)CharlesXu和silent,感谢您的回复。我发现问题,由于某些原因ps文件未被复制:(