Publish a Service Fabric Container project

509 Views Asked by At

I don't make it to publish a container. In my case I want to put an MVC4 Webrole into the container. ...but actually, what's inside the container does not matter.

  1. Their primary tutorial for using a container to lift-and-shift old apps uses Continuous Delivery. The average user does not always need this.

  2. Instead of Continuous Delivery one may use the Visual Studio's support for Docker Compose: Connect-ServiceFabricCluster <mycluster> and then New-ServiceFabricComposeApplication -ApplicationName> <mytestapp> -Compose docker-compose.yml

    But following exactly their tutorial still leads to errors. The applicaton appears in the cluster but outputs immediatly an error event:

    "SourceId='System.Hosting', Property='Download:1.0:1.0'. Error during download. Failed to download container image fabrikamfiber.web"

Do I miss a whole step, which they expect to be obvious? But even placing the image in my Docker Hub registry myself did not help? Or does it need to be Azure Container Registry?

1

There are 1 best solutions below

10
On

Docker Hub should work fine, ACR is not required. These blog posts may help: