Deploy .Net6.0 Web api with docker
What is Docker? Docker is a containerization platform, meaning that it enables you to package your applications into images and run them as “containers” on any platform that can run Docker. It negates the classic: “It works on my computer” argument as Docker images contain everything needed for the app to run. Are Containers the same as Virtual Machines? They are similar, but not the same. In short: Virtual Machines provide OS Level Virtualization Containers provide App Level Virtualization This concept is depicted below: Why Would You Use it? In short you would use Docker, (and hence containers), for the following reasons: Portability. As containers are self- contained they can run on any platform that runs Docker, making them easy to stand up and run on a wide variety of platforms. Scalability. With the use of additional “orchestration” you can spin up multiple container instances to support increased load. Performance. Containers generally perform bette...