i really love your videos, very detailed yet still easy to follow along and understand, you have a gift for teaching, keep up the content... and THOSE GUNS gaddammm!
Awesome as always. Thanks for sharing My 2 cents on that: none of the companies I worked for gave me a laptop different then a windows one, and many of them didn’t allow me to install many of the tools needed to perform my tasks due to internal policies and so. Working with containers helped me to solve these issues.
Thank you for the video. There's a lot other turtorials with load noice, or grainy sound. Really appreciate the effort you spend to improve video quality. THANK YOU
Lol the actual reason is so true “it doesn’t matter so wherever I can run games…” The best thing about the container-centric world of modern devops is that it just takes operations from drudgery to fun. And it’s great to see individuals finally start to get a bit of the high-leverage power that computers and software have long promised.
Thank you so much for sharing this! Recently I started an assignment where my group runs all our pipelines in containers. That pushed me to do the same for my own local envs and using it in combination with makefiles. Watching this video only gave me more confidence that I’m on the right path and look forward to seeing how it evolves the coming few months and years 💪🏼
I use distrobox, which is like WSL, i.e., it's essentially linux on linux. I use an ubuntu distro but have arch linux virtualized (so I have access to pacman). It's pretty cool.
I didn't know that containers have this many possibilities to use for, the only thing I'm doing always to run k8s, spinning up an instance in the cloud for dev and testing, and for practise stuff using killerkoda, time to switch to kind now, thanks for you're time marcel, we are so grateful to have you.
I recently switched from full windows to dual boot windows + manjaro. In windows I have parsec installed and with VMware I've set up a vm with physical disk pointing to the manjaro installation. My manjaro installation has been perfect for my work. With my guake terminal, tmuxes, vims and anything that makes me more productive. And when I want to game or work from remote I can just parsec onto windows. It's a perfect setup
Containerizing all CLI tools (and applications with GUI) is something I never doubted was possible, but now it's clear how useful it is. Thx for your video.
First of all what a great video. The key take away for me is to be OS agnostic. That means no fanboying one OS over the other. Devops Tools dont care about you're preferences its ultimately up to you to set it up and configure. Far too often I've seen people whine and moan about learning something new because its hard to pickup something you're not familiar with. A business doesnt care about the tools you want to use so we need to be adaptive and flexible enough to exploit the benefits of the tool chain on offer. Only then can we openly discuss the benefits and drawbacks of said technologies. This helps business develop more efficient process and helps us grow and develop in our proffession. Use what works for you by all means just dont grumble if someone else finds faster more effective solutions with a tool chain that takes time and effort to configure.
One thing that not gonna work if you're mounting windows folder into a linux container is the softlink and file reference id inside the linux container. The file reference id is when you're using a tool to check in real-time whenever the file changes.... something like tail. But just to be more exact, nodemon (npm). Normally I would use nodemon to monitor changed file and restart my app with go, python, ts-node and whatnot.
Can you map docker socket as a volume to your container on windows? Basic expample - when you need to use ansible-molecule to test your ansible roles that use docker containers, that requires to run containers inside containers, or if to be accurate - to be able to connect to docker daemon on your host machine from the container.
I love that you've managed to get this workflow so streamlined. The resources you provide are amazing. One thing I'm not clear on is whether you use wsl at all? I'd love to know how you have this setup and workflows if so.
I have some doubts: when I execute htop in a container I see only 1 process in htop and that is htop itself. I don't see the processes on the Host. That doesn't seem very useful, am I missing something? The Dockerfile should have more instructions?
I've been working as a DevOps engineer for a few years and I've been using Linux for over a decade for work and personal stuff. In those years I've learned that it doesn't matter which system you use. If you feel comfortable on Windows or Mac, keep it. Some people do an amazing job on Linux, others work just as well on Windows. Don't be an OS fanboy.
I do not agree, I think today using windows is dangerous, all windows version ( last versions beeing the worse ) have serious problems on privacy, security and hacking. With Linux you are more safe. I could bet that the world will have a serious problem with windows on the next 5 or 10 years.
@@wagfeliz if you use Windows in a professional environment, it is usually secured by company policies, running in an intranet, etc. These are usually much harder to hack, don't report back to Microsoft etc. But on the topic of this video, all the important stuff is done in containers anyway.
may I know what would need to be run natively on windows in your setup 1. browser chrome 2. vs code editor 3. kind cluster 4. docker desktop 5. lens for k8s etc etc
Wow! Im stunned how much your case is similar to mine. Even the "gaming@linux" opinion - thats why i have separate windows machine for gaming! I love my Kubuntu but at my work i was able to choose between Windows, Ubuntu and Fedora. And after 6 moths with Ubuntu i start to regret i havent chose Windows. Not only gnome is totally annoying to me, but also the various things related to video and audio for calls. Its just much easier to buy or set with software audio with noise rejection/cancelation and managing audio is easier on Windows. I bought Presonus IO44 and it works fine but still have to run windows VM to tweak some settings. Ive read about WSL2 to mitigate some Win disadvantages, but there are complaints about it too. But your approach is totally different. Im so encouraged now to give windows a second chance.
This seems awesome and a practice id like to try to implement in my workflow as well. One thing that confuses me is how AWS profile credentials are handled with this approach, especially if you are managing multiple accounts and using Terraform or EKS. I assume the .aws config files would have to be loaded into the container for each project you are working on, but seems like that might make things sort of complicated, unless i am missing something
I also had a similar learning path coming from a 20 year software engineering background (microsoft guy).. windows is definitely a productive operating system and a lot of times a lot more productive than linux or macos for a guy that hasnt had any experience with *nix like systems.. However having experienced a lot of bugs and a lot of hardcore failures like registry or msdtc or com+ components i loved containers so much and eventually switched to linux containers and it finally made me switch to macos to have a mixed world experience. Now my daily driver is an m1 13" 2020 model. could be happier... it has its problems (like kafka official images that wont work out of the box without recompiling or pure NTFS support without tuxera ntfs or similar) but overall i couldn't be happier since in these last 2 years i forgot what it means to have a BSOD or any other annoying failures.
For me MacOS was extremely tempting when it was based on x86 (Intel). It lost my interest when they switched to ARM. The only reason offcourse is virtualisation and dockerization. For me its very important to use exactly the same images as are used in the project. I found it in a painful way, that even tiny difference (like Intel vs AMD) can take your 2-3 days of debugging to the trash bin. So i would not dare to risk even bigger differences for x86 and ARM builds for the same docker image.
The issue with running Windows containers - the filesystem might be NTFS or rather the filesystem WILL be NTFS - and not case sensitive by default... Just a note.
I personally wouldn't use Windows since I consider it as a glorified bloatware and spyware. I care about privacy and owning my computer and not waiting for Microsoft to dictate how my computer works. That's why I use ZorinOS and left Windows last year. My PC now runs way smoother and I can also play games from Steam with Proton windows compatibility layer. Also, if you're someone who cares about building a better world, you should support open source as much as possible. Open source is the reason why I'm able to earn so in return, I help make it better by using open source software and contributing whenever I can. Video editing software like Kdenlive is really good on Linux too + you don't have to pay for it. FOSS is the future.
Using linux exclusively (work and home) for over 20 years, I can't agree more, OS is not so relevant anymore ( but I still think Linux is more secure and reliable system overall ). The answer is just use what you like more and feel more comfortable. My last Windows machine ran Windows 98, and I'm really glad I switched to Linux because this changed my career. Currently I'm "teaching" and helping my coworkers on the way of containers, regardless of their OS, some use Linux like me, and those who use windows there is WSL2 with Ubuntu/Docker installed. I'm also happy that gaming on linux is not a pain as it was in the past, thanks to Valve/Proton and Wine developers so I don't envy my windows friends lol.
Awesome video! I had the same issues and I'm working on a linux machine now. Does docker on windows have good performance for development? I remember that when using WSL I had issues with git, that was a really downer for me
I am a linux user, but for a period I was forced to work with Windows for work. WSL kept me sane. In my experience, everything run great (git, tmux, all my varius configurations for varius tools (I live in the terminal)), docker, k3d, kind all well, BUT docker containers performance was noticeable different. It would drain a tone of battery life and the fan would spin quite noticable on a laptop with i7-12th gen and 32GB. On the other hand, on my i5-4th gen with 16GB running Arch Linux, I would forget I had 3-4 containers running all the time.
I find that WSL2 addresses those performance concerns. Just use the filesystem in the subsystem and you will be fine. Using folders that are hosted in Windows will still be slow. Also, Docker Desktop is great -- provides both Docker and Kubernetes for WSL2 and Windows.
I am stucks on windows server 2019 , please help me bro, I run .net application on local But I need to reverse proxy , Did anyone known how to achieve reverse proxy in windows server 2019
Docker for Windows runs (windows subsystem for linux) which is much faster and light weight than a VM But yes, its all still linux in the end. Portability is the key here
Is this even a question real humans (not NPCs) would ask? Work provide a Macbook Pro, but my laptop is a Windows laptop running WSL2 with Linux galore...which, if you've been around a while, is like magic 😄
So the answer is in the last two minutes - video editing and gaming, which is actually not related to DevOps role. Otherwise, he just spends 20 minutes explaining the same thing - containers are abstraction, that allows you to use whatever OS you want.
Bad video, there is no explanation or point to use windows. I use linux as host and vmbox for other linux for vm machines, with no problem, no issues, nothing, actually I think its runs even faster, and its much more secure ( continue to use windows and you will louse everything because this system have no security and dont work ). I do have dual boot with windows just because in my game library with more then 50 games I have 1 game that dont work on linux ( second extinction ), but i dont even remember the last time I run windows here. Sorry, I have to dislike since there is no clear explanation on your video.
By the way, for gaming, I found linux to run games faster for some reason, I think its because of vulcan running free of dicrectx broken libs, it runs so fast in some games that normally I fix the fps rate to 60 in order to get the gpu less hot ( increases the video card life ). I am not sure about video editing, but I know OBS works fine in linux also.
The OS may not be relevant but hardware it runs does make a difference. Using Macbook Pro cant' compare with any Windows or Linux laptop - the ergonomics, reliability, stability and hardware quality of Macbook Pro is what Windows or Linux based laptops can only dream of
i really love your videos, very detailed yet still easy to follow along and understand, you have a gift for teaching, keep up the content... and THOSE GUNS gaddammm!
Awesome as always. Thanks for sharing
My 2 cents on that: none of the companies I worked for gave me a laptop different then a windows one, and many of them didn’t allow me to install many of the tools needed to perform my tasks due to internal policies and so. Working with containers helped me to solve these issues.
Thank you for the video. There's a lot other turtorials with load noice, or grainy sound. Really appreciate the effort you spend to improve video quality. THANK YOU
Learning so much by your videos every time. Thank you for all this effort. Keep on with your excellent work.
Thank you for sharing. This video left a deep impression on me!!
Lol the actual reason is so true “it doesn’t matter so wherever I can run games…” The best thing about the container-centric world of modern devops is that it just takes operations from drudgery to fun. And it’s great to see individuals finally start to get a bit of the high-leverage power that computers and software have long promised.
Thank you so much for sharing this! Recently I started an assignment where my group runs all our pipelines in containers. That pushed me to do the same for my own local envs and using it in combination with makefiles. Watching this video only gave me more confidence that I’m on the right path and look forward to seeing how it evolves the coming few months and years 💪🏼
I use distrobox, which is like WSL, i.e., it's essentially linux on linux. I use an ubuntu distro but have arch linux virtualized (so I have access to pacman). It's pretty cool.
Thanks for sharing - just installed it and it's really cool!
It is a docker
Another great explanatory video! We love you man 😘
I didn't know that containers have this many possibilities to use for, the only thing I'm doing always to run k8s, spinning up an instance in the cloud for dev and testing, and for practise stuff using killerkoda, time to switch to kind now, thanks for you're time marcel, we are so grateful to have you.
I recently switched from full windows to dual boot windows + manjaro. In windows I have parsec installed and with VMware I've set up a vm with physical disk pointing to the manjaro installation. My manjaro installation has been perfect for my work. With my guake terminal, tmuxes, vims and anything that makes me more productive.
And when I want to game or work from remote I can just parsec onto windows. It's a perfect setup
Grats on the sponsor! This was a great video. I never knew you can get a GUI output with docker.
Containerizing all CLI tools (and applications with GUI) is something I never doubted was possible, but now it's clear how useful it is. Thx for your video.
Actually useful sponsor , thank you
First of all what a great video. The key take away for me is to be OS agnostic. That means no fanboying one OS over the other. Devops Tools dont care about you're preferences its ultimately up to you to set it up and configure. Far too often I've seen people whine and moan about learning something new because its hard to pickup something you're not familiar with. A business doesnt care about the tools you want to use so we need to be adaptive and flexible enough to exploit the benefits of the tool chain on offer. Only then can we openly discuss the benefits and drawbacks of said technologies. This helps business develop more efficient process and helps us grow and develop in our proffession. Use what works for you by all means just dont grumble if someone else finds faster more effective solutions with a tool chain that takes time and effort to configure.
Excellent and interesting overview of running desktop apps in the desktop
That is awesome. The way that you work is amazing. I can get my daughter's laptop and work from that. Just like that. I'm impressed.
always great videos
One thing that not gonna work if you're mounting windows folder into a linux container is the softlink and file reference id inside the linux container. The file reference id is when you're using a tool to check in real-time whenever the file changes.... something like tail. But just to be more exact, nodemon (npm). Normally I would use nodemon to monitor changed file and restart my app with go, python, ts-node and whatnot.
Can you map docker socket as a volume to your container on windows? Basic expample - when you need to use ansible-molecule to test your ansible roles that use docker containers, that requires to run containers inside containers, or if to be accurate - to be able to connect to docker daemon on your host machine from the container.
Yes this works.
I love that you've managed to get this workflow so streamlined. The resources you provide are amazing.
One thing I'm not clear on is whether you use wsl at all? I'd love to know how you have this setup and workflows if so.
I personally don't directly use WSL, however on Windows my docker install uses WSL behind the scenes instead of a virtual machine
I have some doubts: when I execute htop in a container I see only 1 process in htop and that is htop itself. I don't see the processes on the Host. That doesn't seem very useful, am I missing something? The Dockerfile should have more instructions?
I've been working as a DevOps engineer for a few years and I've been using Linux for over a decade for work and personal stuff. In those years I've learned that it doesn't matter which system you use. If you feel comfortable on Windows or Mac, keep it.
Some people do an amazing job on Linux, others work just as well on Windows.
Don't be an OS fanboy.
I do not agree, I think today using windows is dangerous, all windows version ( last versions beeing the worse ) have serious problems on privacy, security and hacking. With Linux you are more safe. I could bet that the world will have a serious problem with windows on the next 5 or 10 years.
@@wagfeliz if you use Windows in a professional environment, it is usually secured by company policies, running in an intranet, etc. These are usually much harder to hack, don't report back to Microsoft etc. But on the topic of this video, all the important stuff is done in containers anyway.
Them Arms! 😵💪
Is there a VAX Digital Equipment container? I want to run pascal programs I wrote 35 years.
Hey Marcel you thinking of doing anything around Nomad? Consul?
may I know what would need to be run natively on windows in your setup
1. browser chrome
2. vs code editor
3. kind cluster
4. docker desktop
5. lens for k8s
etc etc
Wow! Im stunned how much your case is similar to mine. Even the "gaming@linux" opinion - thats why i have separate windows machine for gaming! I love my Kubuntu but at my work i was able to choose between Windows, Ubuntu and Fedora. And after 6 moths with Ubuntu i start to regret i havent chose Windows. Not only gnome is totally annoying to me, but also the various things related to video and audio for calls. Its just much easier to buy or set with software audio with noise rejection/cancelation and managing audio is easier on Windows. I bought Presonus IO44 and it works fine but still have to run windows VM to tweak some settings. Ive read about WSL2 to mitigate some Win disadvantages, but there are complaints about it too. But your approach is totally different. Im so encouraged now to give windows a second chance.
Do you run docker containers from docker desktop or from wsl2?
I do both, docker-desktop for a personal computer and WSL for commercial one
I am not able to get artifact 'Auto Mapper' from azure DevOps in docker window container in window machine
This seems awesome and a practice id like to try to implement in my workflow as well. One thing that confuses me is how AWS profile credentials are handled with this approach, especially if you are managing multiple accounts and using Terraform or EKS. I assume the .aws config files would have to be loaded into the container for each project you are working on, but seems like that might make things sort of complicated, unless i am missing something
Thank you for the great content! Please review your PC setup. Thank you in advance!
I also had a similar learning path coming from a 20 year software engineering background (microsoft guy).. windows is definitely a productive operating system and a lot of times a lot more productive than linux or macos for a guy that hasnt had any experience with *nix like systems.. However having experienced a lot of bugs and a lot of hardcore failures like registry or msdtc or com+ components i loved containers so much and eventually switched to linux containers and it finally made me switch to macos to have a mixed world experience. Now my daily driver is an m1 13" 2020 model. could be happier... it has its problems (like kafka official images that wont work out of the box without recompiling or pure NTFS support without tuxera ntfs or similar) but overall i couldn't be happier since in these last 2 years i forgot what it means to have a BSOD or any other annoying failures.
For me MacOS was extremely tempting when it was based on x86 (Intel). It lost my interest when they switched to ARM. The only reason offcourse is virtualisation and dockerization. For me its very important to use exactly the same images as are used in the project. I found it in a painful way, that even tiny difference (like Intel vs AMD) can take your 2-3 days of debugging to the trash bin. So i would not dare to risk even bigger differences for x86 and ARM builds for the same docker image.
The issue with running Windows containers - the filesystem might be NTFS or rather the filesystem WILL be NTFS - and not case sensitive by default... Just a note.
Ahaaaa,! Mystery solved! We finally know where Trogdor's other beefy arm is.
Honest guy I like it thx for that. I write that as full time linux user. Have great day @That DevOps Guy
I personally wouldn't use Windows since I consider it as a glorified bloatware and spyware. I care about privacy and owning my computer and not waiting for Microsoft to dictate how my computer works. That's why I use ZorinOS and left Windows last year. My PC now runs way smoother and I can also play games from Steam with Proton windows compatibility layer.
Also, if you're someone who cares about building a better world, you should support open source as much as possible. Open source is the reason why I'm able to earn so in return, I help make it better by using open source software and contributing whenever I can.
Video editing software like Kdenlive is really good on Linux too + you don't have to pay for it. FOSS is the future.
Exactly, i run dev environment with docker run
Quite interesting, can you do a video on using juju?
Using linux exclusively (work and home) for over 20 years, I can't agree more, OS is not so relevant anymore ( but I still think Linux is more secure and reliable system overall ). The answer is just use what you like more and feel more comfortable. My last Windows machine ran Windows 98, and I'm really glad I switched to Linux because this changed my career. Currently I'm "teaching" and helping my coworkers on the way of containers, regardless of their OS, some use Linux like me, and those who use windows there is WSL2 with Ubuntu/Docker installed. I'm also happy that gaming on linux is not a pain as it was in the past, thanks to Valve/Proton and Wine developers so I don't envy my windows friends lol.
viewing this on my linux machine which I use sometimes since I use macos for everyday work, just because that's what my company provides.
Man, you are passionate,
where does that come from ? And what is your goals ?
Why not MacOS? :) by the way thank you for the video!
I've never owned one before. They look cool and i'm sure i'd love it. Great for editing i heard and it runs containers 💪🏽
sir you are great!!! :D
docker pull ubuntu should solve the need in linux as well
Awesome video! I had the same issues and I'm working on a linux machine now.
Does docker on windows have good performance for development? I remember that when using WSL I had issues with git, that was a really downer for me
I am a linux user, but for a period I was forced to work with Windows for work. WSL kept me sane. In my experience, everything run great (git, tmux, all my varius configurations for varius tools (I live in the terminal)), docker, k3d, kind all well, BUT docker containers performance was noticeable different. It would drain a tone of battery life and the fan would spin quite noticable on a laptop with i7-12th gen and 32GB. On the other hand, on my i5-4th gen with 16GB running Arch Linux, I would forget I had 3-4 containers running all the time.
I find that WSL2 addresses those performance concerns. Just use the filesystem in the subsystem and you will be fine. Using folders that are hosted in Windows will still be slow. Also, Docker Desktop is great -- provides both Docker and Kubernetes for WSL2 and Windows.
@@dzehme but what about Gui apps like git GUIs?
Skip to 19:40 for the actual answer.
I use Linux 100%.
I don't do computer gaming. I just need to run VASSAL.
I am stucks on windows server 2019 , please help me bro, I run .net application on local
But I need to reverse proxy ,
Did anyone known how to achieve reverse proxy in windows server 2019
I believe IIS is the only way, install the URL rewrite extension to allow it to act as a reverse proxy
I love you Marcel, thanks for being a true devops rockstar, even if you are using windows 😂 thanks for share all your knowledge with the humanity
As long as the OS runs my tools, then it just a matter of preference.
I'm a window, linux, and Iphone user. I think about getting a Mac Pro laptop. I have ubuntu laptop.
How old are you?
Thank you for great content! One of the very few top DevOps channels worth watching on TH-cam. Would give you a 100 likes if I could :)
Don't forget legday 😋
Please help in this context
Fantastic explanation as always. The best people are not religious about OSs or any other things.
First point makes little sense, it’s basically “I use a god awful OS that forces me to use Docker”
Docker for windows runs in a small Linux VM, so you’re still running Linux😊
Docker for Windows runs (windows subsystem for linux) which is much faster and light weight than a VM
But yes, its all still linux in the end. Portability is the key here
"because I hate myself".
very funny haha
Is this even a question real humans (not NPCs) would ask? Work provide a Macbook Pro, but my laptop is a Windows laptop running WSL2 with Linux galore...which, if you've been around a while, is like magic 😄
tldr: he games
Why vele 😂😂😂😂
gentleman, find you a woman who loves you as much as this man loves his own arms. Every video!! lol
So the answer is in the last two minutes - video editing and gaming, which is actually not related to DevOps role. Otherwise, he just spends 20 minutes explaining the same thing - containers are abstraction, that allows you to use whatever OS you want.
😂
Bad video, there is no explanation or point to use windows. I use linux as host and vmbox for other linux for vm machines, with no problem, no issues, nothing, actually I think its runs even faster, and its much more secure ( continue to use windows and you will louse everything because this system have no security and dont work ). I do have dual boot with windows just because in my game library with more then 50 games I have 1 game that dont work on linux ( second extinction ), but i dont even remember the last time I run windows here. Sorry, I have to dislike since there is no clear explanation on your video.
By the way, for gaming, I found linux to run games faster for some reason, I think its because of vulcan running free of dicrectx broken libs, it runs so fast in some games that normally I fix the fps rate to 60 in order to get the gpu less hot ( increases the video card life ). I am not sure about video editing, but I know OBS works fine in linux also.
The OS may not be relevant but hardware it runs does make a difference. Using Macbook Pro cant' compare with any Windows or Linux laptop - the ergonomics, reliability, stability and hardware quality of Macbook Pro is what Windows or Linux based laptops can only dream of