This is similar but different than what @emaia was attempting to ask here.
I'm looking at two things:
1) how to upload my .net containerized Service Fabric application to Docker Hub
It looks like based on this article when you are creating a SF Container project you can specify a Docker Hub location. I'm containerizing an existing .net application and wanting to use Docker Hub as my registry. I could containerize outsider of SF and then start a new project?
I will also be making code changes (bug fixes, enhancements ect) and will need to upload those changes to my Image, so i'm assuming after I've set Docker as my registry any time I deploy it tags the container and uploads to Docker Hub?
2) How to pull my container from Docker Hub to deploy to my onPrem Service Fabric Cluster. I think this is just a deploy like any other SF application but I wanted to verify. Are there any other gotchas out there?
Thanks,
Greg
UPDATE: Clarifying for @Diego Mendes
I'm not trying to deploy a SF "application" but once you add Orchestration Support to an existing .net application it turns it into a SF sln. I'm containerizing an existing .net 4.7 application and then building/deploying that container. I want to use SF as the orchestrator. It seems if I was to use Azure Registry instead of Docker Hub it would be much easier to manage this as you can easily publish to Azure registry, but there isn't a publish option to Docker Hub. The questions are:
1a) What is the best way to get that container into the Docker Hub Registry?
I think the worst case scenario is that I would need to upload the image outside of the SF sln using "Docker Push"? Then i start a new SF sln and use the container template to reference the Docker Hub location when creating the solution? Seems a little odd. I would then have two .sln files, solution A that houses the code and creates the image. Then post that image to Docker Hub and use a separate SF solution (solution B) that doesn't have the code to manage the container?
1b) How do i need to make updates to that image?
After i have uploaded my container image to Docker hub and then i make updates to the code how to upload the updates. It should be the same as however we upload it int he first place. If I have to do what i mentioned above then i would maintain the code in Solution A and use Solution B to orchestrate the image produced by Solution A? I'm hoping this is not the way to do it and i'm missing something.
UPDATE 2:
I think we are on the same page. Thanks for all the detail on the second part of the question. The heart of my question resides in the first part.
What I'm trying to clarify is how many solution files do I need to use. Do I need one Visual Studio Solution (Solution A) that compiles my code and creates the image and a then separate Visual Studio Solution (Solution B) only for Orchestrating that image? If that's the route I need to go then then follow up question is does the First solution even need to be a SF Solution or can I use any Solution that creates a Docker image.
The next steps is to manually upload to Docker Hub and see what changes in the SF solution when I point to that as my container source. Maybe I can figure it out and use just one solution to create and maintain that image.