Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Unable to deploy ASP.NET core docker image

$
0
0

Hi All,

I'm trying to build Docker image using the ASP.NET core 1.0. I'm windows 10 x64 bit. I have the following installed

1) Docker for Windows

2) Docker tools for VS 2015

After I create a ASP.NET core 1.0 app, I added the docker support. Then from powershell I executed the following commands.\DockerTask.ps1-Build-EnvironmentRelease

Then when I try to run the Docker image using the command \DockerTask.ps1 -run-EnvironmentRelease

I get the below error

Creating network "dockerapp_default" with the default driver Creating dockerapp_dockerapp_1

ERROR: for dockerapp  driver failed programming external connectivity on endpoint dockerapp_dockerapp_1 (55ca50e4579c408 c8f3a7d289c55de67b0089c1f9f835c77416dbff1ac4427b1): Error starting userland proxy: write /port/tcp:0.0.0.0:80:tcp:172.18 .0.2:80/ctl: errno 526 ERROR: Encountered errors while bringing up the project. Run : Failed to start the container(s) At D:\Venkatesh\ASPNETCore\DockerDeployement\DefaultApp\DockerApp\src\DockerApp\DockerTask.ps1:507 char:5 +     Run +     ~~~     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Run


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>