4 ms·
Docker helps with two problems DLLs dont: 1) what if I want to run your app on my Linux server and I dont have dotnet set up. I dont want to deal with installi
by rr808 4y ago
Docker helps with two problems DLLs dont:
1) what if I want to run your app on my Linux server and I dont have dotnet set up. I dont want to deal with installing and maintaining dontnet. And I dont trust your setup script
2) You want run a database and message as part of your application, and they aren't dotnet.
- nicoburns 4y ago> And I dont trust your setup script Worth pointing out that if you don't trust their setup script, then you probably shouldn't trust their Docker container either.
- thraxil 4y agoYes, although there are (at least) two different meanings of "I don't trust your setup script". If I don't trust them to not do nefarious/malicious things, then I also shouldn't trust their Docker container either. If I just don't trust them to write a good setup script, eg, getting permissions right, putting pid files in the right location, not stomping on other stuff in various directories, etc. Docker solves that problem. They can put whatever badly written crap they want in the container and I do have some guarantees that it won't break the system it's running on.
- sebazzz 4y agoThere are also more considerations. For instance, a QR code library I use in .NET has a few Debian packages as dependencies for Linux (like Imagemagick). With Docker, these installed packages ship with the product as well.