Last post Jul 18, 2020 03:56 PM by bruce (sqlwork.com)
Jul 17, 2020 10:40 PM|siegfried_heintze|LINK
When I use visual studio and add container orchestration support to my project, I get a number of options when I try to deploy to github:
So assuming I'm deploying to Docker Desktop Kubernetes where the Docker VM is running linux, what happens when I deploy several projects with the framework specific option?
Jul 18, 2020 03:56 PM|bruce (sqlwork.com)|LINK
Kubernetes is a container orchestration tool. it support running the container form an image. it has no knowledge of what is in the image.
for Kubernetes to run a AspNetCore core application via a docker container, you must build a docker image that has all the files (os, runtime, application, etc).
for Kubernetes you need to build a final docker image with your application installed, for it to run. typically during build, you'd pull an image with asp.net core runtime installed, so you don't need self contained. typically you would have a build
step that copies the application.
its also common to compose a build image that compile the code, then this image is run to build the final image, but this is advanced.
you might find it easier to start with just a docker compose and run, then move on to kubernetes
note: you will need to learn docker build and compose. then Kubernetes compose syntax.