Posted October 10, 2020 48 minutes ago, igormp said: Real devs static link their application and only leave that single binary in that container without any other userland bloat /s Unless you are trying to deploy it in any sort of professional setting Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler I don't have a problem... Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 10, 2020 1 hour ago, tarfeef101 said: Unless you are trying to deploy it in any sort of professional setting Joking aside, I've actually deployed many services without any other userland stuff. Doing so with Go/C/C++ applications is a breeze (busybox is a nice example). Good luck trying to do so with other interpreted stuff tho FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSAASUS X550LN | i5 4210u | 12GBLenovo N23 Yoga Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 10, 2020 47 minutes ago, igormp said: Joking aside, I've actually deployed many services without any other userland stuff. Doing so with Go/C/C++ applications is a breeze (busybox is a nice example). Good luck trying to do so with other interpreted stuff tho Yeah in my world docker is everything, so that kinda frames how I approach everything. Which does make stuff simple, at least Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler I don't have a problem... Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 11, 2020 On 10/10/2020 at 7:14 AM, tarfeef101 said: You're missing the point. If your application is lightweight, alpine will allow you to drastically reduce your image size, which is usually something people try to do. One typically reserves heavier distros like debian for when they're the "last resort" due to an incompatibility like I mentioned with musl c. Image size reduction can be *a* goal of container building, but it's not always the most important goal. I just pulled the current stable versions of debian, ubuntu, alpine and centos to compare. 🖥 ~ ❯ docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu 20.04 9140108b62dc 2 weeks ago 72.9MB debian buster f6dcff9b59af 4 weeks ago 114MB centos 8 0d120b6ccaa8 2 months ago 215MB alpine 3 a24bb4013296 4 months ago 5.57MB Alpine is significantly smaller, but as soon as you have one debian/ubuntu/centos container that size difference stops mattering. And if you use a managed service like AKS or EKS then it doesn't matter either. So where I work we do care about container size a little, but we care much more about building a container which is going to be easy for the next guy, or you 6 months from now, to maintain. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 11, 2020 3 hours ago, maplepants said: Image size reduction can be *a* goal of container building, but it's not always the most important goal. I just pulled the current stable versions of debian, ubuntu, alpine and centos to compare. 🖥 ~ ❯ docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu 20.04 9140108b62dc 2 weeks ago 72.9MB debian buster f6dcff9b59af 4 weeks ago 114MB centos 8 0d120b6ccaa8 2 months ago 215MB alpine 3 a24bb4013296 4 months ago 5.57MB Alpine is significantly smaller, but as soon as you have one debian/ubuntu/centos container that size difference stops mattering. And if you use a managed service like AKS or EKS then it doesn't matter either. So where I work we do care about container size a little, but we care much more about building a container which is going to be easy for the next guy, or you 6 months from now, to maintain. Eh that's a pretty broad and poorly represented point. 1) There are slimmer versions of those "big distro" images available, for example debian I know had a slim tag available which is what I use when I need a heavier distro. 2) Managed services in now way make size irrelevant. Far from it. There are many use cases where that still matters: - lower image size means less storage costs - lower image size means CI builds and tests take much less time. In most companies where a single dev may trigger dozens of these pipelines a day, that can mean huge time and resource savings, and much faster prototyping. If you have good DevOps people and learn how to comment, maintaining well-slimmed down images isn't hard. Just comment what you're doing. There's something you didn't touch on which is relevant to this topic which is effective usage of layers to allow for using layer caching to reduce build times. You so often trade off some size to have layers for your most often changed parts of an image separated out in a hierarchy at the end of a dockerfile to avoid rebuilding layer components which rarely change. But even there, there is a balance to be struck. By paying attention to these factors I have saved companies double digit percents on their cloud bills, massively reduced the time of pipeline jobs, etc. Image size and composition absolutely matter. Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler I don't have a problem... Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 12, 2020 I prefer Debian for my servers, as I prefer apt for package management and Debian is just the most stable and reliable. I vehemently dislike the fact systemd gets stuffed in everywhere these days, but what do you do. Ubuntu is just too bloated to be taken seriously and the rest is just marginal at best. I use just about everything though: Gentoo, Arch, CentOS, Slackware, derivatives of bigger distros. They all have pro's and cons. But Debian will always be my goto distro. Easy to setup and maintain, no fuzz, no frills just run and keep running. For desktop, anything with standard KDE Plasma. Yes, you can install KDE or any desktop on any Linux yourself. I do not want that. I want to install and go. Not that I generally run Linux on my desktop. I don't run OS's to play with the OS, I run an OS to use software on top of that OS and the software I need/want runs on Windows so Linux desktop is always just going to be playground stuff, nothing serious. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 12, 2020 23 hours ago, tarfeef101 said: Eh that's a pretty broad and poorly represented point. 1) There are slimmer versions of those "big distro" images available, for example debian I know had a slim tag available which is what I use when I need a heavier distro. 2) Managed services in now way make size irrelevant. Far from it. There are many use cases where that still matters: - lower image size means less storage costs - lower image size means CI builds and tests take much less time. In most companies where a single dev may trigger dozens of these pipelines a day, that can mean huge time and resource savings, and much faster prototyping. If you have good DevOps people and learn how to comment, maintaining well-slimmed down images isn't hard. Just comment what you're doing. There's something you didn't touch on which is relevant to this topic which is effective usage of layers to allow for using layer caching to reduce build times. You so often trade off some size to have layers for your most often changed parts of an image separated out in a hierarchy at the end of a dockerfile to avoid rebuilding layer components which rarely change. But even there, there is a balance to be struck. By paying attention to these factors I have saved companies double digit percents on their cloud bills, massively reduced the time of pipeline jobs, etc. Image size and composition absolutely matter. I think we're basically agreeing here. The part of your first post that I disagree with was: Quote One typically reserves heavier distros like debian for when they're the "last resort" You bring up the excellent points of layer caching, and debian's slim tag. So I think we're basically on the same page that base images like debian are not some kind of last resort and that alpine isn't really the only way to save on image sizes. Inefficient CI pipelines, and cloud storage are definitely areas which can run up the bills, but in my company none of the cloud costs come anywhere close to the largest section of our bills; man days. The extra time you would need to pay highly skilled developers to build or maintain some application in only alpine or busybox containers is almost never worth the potential Azure or AWS savings for us. That's not to say that we're careless with images or anything like that, just that maintainability and ease are much more important to our cost controls than image size. This kind of thing is really project dependent though. If you're building some applet which you hope to treat basically as a fire and forget service that requires nearly no new features and little maintenance your considerations are different than for high maintenance software with weekly feature releases. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 12, 2020 4 hours ago, maplepants said: I think we're basically agreeing here. The part of your first post that I disagree with was: You bring up the excellent points of layer caching, and debian's slim tag. So I think we're basically on the same page that base images like debian are not some kind of last resort and that alpine isn't really the only way to save on image sizes. Inefficient CI pipelines, and cloud storage are definitely areas which can run up the bills, but in my company none of the cloud costs come anywhere close to the largest section of our bills; man days. The extra time you would need to pay highly skilled developers to build or maintain some application in only alpine or busybox containers is almost never worth the potential Azure or AWS savings for us. That's not to say that we're careless with images or anything like that, just that maintainability and ease are much more important to our cost controls than image size. This kind of thing is really project dependent though. If you're building some applet which you hope to treat basically as a fire and forget service that requires nearly no new features and little maintenance your considerations are different than for high maintenance software with weekly feature releases. I brought up the slim versions of those images just as a cool fact, almost, and to provide an example of how Centos/debian/Ubuntu aren't all the same. Even debian slim is orders of magnitude larger than alpine. About man-hours vs cloud costs, I'm not sure why you are having issues there. Sure, there's always niche cases where a development process is different from the norm and you could be that. But generally speaking most devs don't interact with the container itself. They just work on the app code and run their tests, and just assume it works. The few devops people and a couple with wider knowledge on the dev team typically are the ones who interact with and modify the container environment. And I do expect a DevOps engineer to be able to handle using an alpine container over a bigger and more common distro, that's part of your job IMO. Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler I don't have a problem... Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 13, 2020 My favourite distro is Pop!_OS Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 14, 2020 On 10/12/2020 at 5:38 PM, tarfeef101 said: But generally speaking most devs don't interact with the container itself. They just work on the app code and run their tests, and just assume it works. I think this line right here shows the difference in my workplace and yours. We deal with some pretty specialized stuff and so a lot of work needs to be done in the container setup. In our workflow we don't actually use FROM alpine:3 or anything like that, usually the containers are based off of a standard dependent on your project, so FROM project:lts or FROM project:latest depending on the feature you're working on. A few friends of mine from the pub work in more general IT consulting though and even for them man days are always a bigger cost that cloud storage for container images. That said I'm in Germany and so maybe that's what makes the difference. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 14, 2020 On 10/12/2020 at 2:38 PM, tarfeef101 said: But generally speaking most devs don't interact with the container itself. They just work on the app code and run their tests, and just assume it works. The few devops people and a couple with wider knowledge on the dev team typically are the ones who interact with and modify the container environment. Hmmm, that sounds really backwards to me. The whole DevOps idea is to bring the devs and ops people close together, and not be a new fancy name for your regular sysadmin. Where I work we're both responsible for our code and its deploy, CI/CD setup, tests and whatnot. FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSAASUS X550LN | i5 4210u | 12GBLenovo N23 Yoga Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 14, 2020 10 hours ago, igormp said: Hmmm, that sounds really backwards to me. The whole DevOps idea is to bring the devs and ops people close together, and not be a new fancy name for your regular sysadmin. Where I work we're both responsible for our code and its deploy, CI/CD setup, tests and whatnot. Idk, I've worked in a good few places over north America, and there's always been a pretty hard line between the DevOps team and the normal dev team (and QA, for that matter). Most devs I talk to have no desire to get into the weeds of CI/CD, and want to just be able to run a script someone made for them or just push their code and let a pipeline do all the work to build, test, and deploy. Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler I don't have a problem... Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 14, 2020 Mint. I love not having to mess around with the terminal much. System Specs: Second-class potato, slightly mouldy Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 17, 2020 I love most debian-based distros. I currently daily drive Ubuntu 20.04, but Mint was my first real intro to the kernel. (Mint 13 or 15, I can't remember.) Puppy Linux also sticks out as a very useful tool to have on a thumb drive for stuff like data recovery or running ancient hardware. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 17, 2020 Manjaro running KDE. I had an old laptop I was messing with and Ubuntu's Unity interface was sluggish. Gnome was also sluggish, especially loading image thumbnails and not great for multitasking. Pop!_OS had some weird quirk, MXlinux didn't do well with dual booting and elementry feels very unproductive. Manjaro with KDE felt snappy and looked great. CPU - FX 8350 @ 4.5GHZ ▒ GPU - Radeon 5700 ▒ Mobo - M5A99FX Pro R2.0 ▒ RAM - Crucial Ballistix 16GB @ 1600 ▒ PSU - Corsair CX600M ▒ CPU Cooler - Hyper 212 EVO ▒ Storage - Samsung EVO 250GB, WD Blue 1TB Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 21, 2020 Despite liking Ubuntu, tinycore is also a fun little distro that i like to have some fun Current Rig: Mobo - MSI B450 Pro-Max VDH | CPU - Ryzen 5 3600 (AMD duh) | GPU - GTX 1660 Super (MSI) | WAM - 2 x 8GB 3200MHz (G.SKILLS Ripjaws) | Storage - 1 x 256GB SSD (Crucial MX500) + 1 x 2TB | HDD 7200RPM (Seagate Barracuda) | PSU - Cooler Master 450W | Case - Cooler Master Q300L | Display - Asus VP248QG (Main) + AOC 24B1W1 | Other Stuff - Bloody B120 (Keyboard) + HP X220 Gaming Mouse + Asus A541UJ (Laptop) Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Gentoo Void Slackware none are listed Write in C. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Author 16 minutes ago, Dat Guy said: Gentoo Void Slackware none are listed well they are not that popular but gentoo can be added if it was useful give it a like btw if your into linux pay a visit here Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Author 18 minutes ago, Dat Guy said: Gentoo Void Slackware none are listed Just now, mahyar said: well they are not that popular but gentoo can be added gentoo added if it was useful give it a like btw if your into linux pay a visit here Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 1 minute ago, mahyar said: well they are not that popular but gentoo can be added Distrowatch stats as of now: - Void: 42 - Gentoo: 45 - Slackware: 35 Anyway... thank you. Write in C. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Author 8 minutes ago, Dat Guy said: Distrowatch stats as of now: - Void: 42 - Gentoo: 45 - Slackware: 35 Anyway... thank you. gentoo is better known tbh i've never heard of other two if it was useful give it a like btw if your into linux pay a visit here Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Slackware is the oldest surviving Linux distribution, first released before Debian was a thing. Write in C. Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 22, 2020 Author Just now, Dat Guy said: Slackware is the oldest surviving Linux distribution, first released before Debian was a thing. added if it was useful give it a like btw if your into linux pay a visit here Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 24, 2020 Ubuntu, but in the Kubuntu side... (Actually my favorite distro is Android ) Made In Brazil Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Posted October 24, 2020 Author 2 minutes ago, themrsbusta said: Ubuntu, but in the Kubuntu side... (Actually my favorite distro is Android ) well android has a lot of changes to become android so technically it caant be called a linux distro if it was useful give it a like btw if your into linux pay a visit here Link to comment Share on other sites More sharing options... Link to post Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now