4 ms·
Resources to learn Docker/containerization of an monolithic web-application
Hey :)
I developed a software which is a plain simple monolithic web application. Pretty basic: ASP.NET with angular and SQL Server as a database. Currently I use one windows server for each customer. I do this to make sure, that no software bug accidently shows data of customer A to customer B (privacy is the most important priority).
I am considering containerizing the application. From what I have heard, the handling and updating of the software is easier.
Do you know of any good resources to learn more about this topic? I am still missing the conceptual basics.
I appreciate any help you can give me! Regards!
- limakzi 4y agoI am pretty sure recent versions .NET (especially .NET Core) are fully containerisable. For this very specific technology, this is the start: https://docs.docker.com/samples/dotnetcore/ https://docs.docker.com/samples/dotnetcore/ https://docs.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows https://docs.microsoft.com/en-us/dotnet/core/docker/build-co... https://code.visualstudio.com/docs/containers/quickstart-aspnet-core https://code.visualstudio.com/docs/containers/quickstart-asp... Be sure you really know what your are doing and understand basic security and containers concepts; there are tons of write ups and articles with the basics. https://docs.microsoft.com/en-us/visualstudio/docker/tutorials/docker-tutorial https://docs.microsoft.com/en-us/visualstudio/docker/tutoria... Regarding security, I made a blog post years ago on a technology agnostic approach to Docker image security. It seems to be still up to date. https://sysdogs.com/articles/how-to-secure-container-image https://sysdogs.com/articles/how-to-secure-container-image
- jjice 4y agoI'd start with any old Docker tutorial (probably the official docs). Since your case is so simple, I bet you'll be able to pick up the concepts very quickly. Another user recommended this, but I'd like to repeat it: https://docs.docker.com/samples/dotnetcore/ https://docs.docker.com/samples/dotnetcore/ It'll hopefully end up being something like the first example in that link. A simple build step, a copy, and then running. For SQL Server, you can either use a managed DB like RDS, or also run it in a Docker container. Up to you. Without knowing your situation, I'd personally lean towards RDS, but do some research for yourself to see what you think.