Docker mistakes corrected by pro
Vložit
- čas přidán 10. 09. 2024
- Kris Rivera is my guest today to help me Dockerize my app. This app has an Angular front end and an Node with Express backend, which will use Docker compose - this will be in part 2 and will be linked here when the video is up.
Kris's channel: / @krisrivera4215
▶️ PART 2 HERE: • Are you doing Docker C...
▶️ Docker on Apple Silicon Playlist: • Docker
Related Docker videos:
▶️ Docker on M1 MacBook vs Ryzen 7 Lenovo - • Docker on M1 MacBook v...
▶️ M1 MacBook SSD and Docker - • M1 MacBook SSD and Docker
▶️ Apple M1 vs Intel Core i9 and Docker Preview - First Look - • Apple M1 vs Intel Core...
▶️ M1 With Docker Live Stream - • Live Stream: M1 With D...
▶️ Apple M1 and VSCode Performance - • Apple M1 and VSCode Pe...
#docker #softwaredevelopment #programming
💻NativeScript training courses - nativescriptin...
(Take 15% off any premium NativeScript course by using the coupon code YT2020)
👕👚iScriptNative Gear - nuvio.us/isn
- - - - - - - - -
❤️ SUBSCRIBE TO MY CZcams CHANNEL 📺
Click here to subscribe: / alexanderziskind
- - - - - - - - -
🏫 FREE COURSES
NativeScript Core Getting Started Guide (Free Course) - nativescriptin...
NativeScript with Angular Getting Started Guide (Free Course) - nativescriptin...
Upgrading Cordova Applications to NativeScript (Free Course) - nativescriptin...
- - - - - - - - -
📱LET'S CONNECT ON SOCIAL MEDIA
KRIS ON TWITTER: / kkrivera
KRIS ON LINKEDIN: / kris-r-809384a4
ALEX ON TWITTER: / digitalix
Thank you Kris for joining me today to Dockerize this app the right way
Your 'use' vs 'usr' typo was driving me crazy - I kept trying to edit the screen (er, video) 🤣. Looking forward to Part II (Although my app is mobile and app on Mac OS (no web client yet) so I don't need Compose (yet). Great video, thanx 👍
lol. kept you on your toes 😂
Drove crazy also but good video anyway!
Nice, even knowing docker it’s nice to see (almost) a live coding session.
High five and thanks!
Great vid - Kris explained things really well especially when things didn't work! Looking forward to the docker compose vid
Thank you both Alex and Kris for the informative session, that was a really awesome live coding session.
I wish I had this video one year ago on one project I started. Thanks for this! GREAT explanations from Kris as well. Made me understand the whole process a lot more.
Awesome collaboration, Alex and Kris. 🔔 for the sequel
Wow! This was super fun and incredibly informative. My work doesn't include a lot of (actually, any) front end apps but I'll use this tutorial to mold our processes into docker.
Thank you, Alex and Kris! Looking forward to the next episode :-)
Thank you so much for all your awesome videos ✌️😍
Your positiv relaxed mood is wonderfully refreshing. (I especially like the "behind the scenes" camera angle (where we can see, what you see))
I'm exited about the docker compose video and the future "ARM vs Intel" videos (and of course all other videos) 🥳
This is a great video, practical applications to what the Macs can do
Very good introduction to understand what docker is and how it works. Thanks...
ty
Would have needed this 2 months ago when I had to do this for homework 😂 But great video as always!
lol. better late than never :)
Great video, thanks! Actually this format (interactions, subject, edition and duration) is very interesting.
I LOVE this series. Excited for the part 2 😁
This is one of your best videos. Thank you for doing so.
This was a great video! Looking forward to Part 2.
One note on the /dist/rpstrackerng14 folder name in the build output, the name after /dist is always the project name from your angular.json file. It is the name on line 6 of your angular.json.
ty!
It was really awesome Kris & Alex. Waiting for the docker-compose video!
Very greate video for docker starter....
Can't wait for the second part!
I love the live debug although am type of fast forwarding type of person who eager to see the final output ASAP but this time I skipped only around 20 sec and backwards 3 times also.
I would be happy to see the second part ASAP.
Thanks for this type of tutorials.
Very nice and informative video in one video he explains a lot more please bring person like him to channel how can teach something really good.
I will be waiting for the next video on docker compose
Very nice. Good content and a bit of a refresher for me. Looking forward to your follow up.
ty!
I enjoyed this vid. Nice to see how Kris plays the ‘driver’. Alex is also like the students I teach coding to online, they run the commands before I tell them to 😆
Worth watching for entry level docker. Good jog!
This was very informative! By the way, it is easier to understand if COPY is used instead of ADD.
Thank you so much! This was so nicely explained! And it was so nice that there were few mistakes from which we got even more useful information. I always postponed using docker because I could just run apps locally, but this actually motivated me to finally try it out
Excellent session! Thank you both. You are so good at explaining things in simple words. Appreciate that. 🙏🏻
This is an awesome video! Thank you!!
Glad you liked it!
Great content, thank you!
so cool! thank you!
Great video! Kris is awesome! Thanks for sharing this amazing lesson!
yt! and yes, kris is the man
@@AZisk waiting for the next lesson 😁
This is great, thanks.
Love the series
Watched this whole vid. Keep up the good work 😎👊🏻
this is amazing content, thank you ❤
Thanks! glad you enjoyed
Thanks!
Wow very nice video loved it.. waiting for part 2.
Very nice demo. I used docker on a project before but my understanding is not that deep. As long as it runs I'm already good. But on this session you were able to discuss line by line in a very digestible manner that even those who haven't use it before can understand.
Alex, thanks for the videos.
He explained everything very well :)
This is really useful, thank you!
wow so cool to follow the steps, very nice!
Great!
Great video! Keep up the good work 😉
Great video. Not a programmer and I was wondering if leaving the line 3 var/tmp not var/temp would invalidate the rest? It just seems like coding has to be very precise with ., spaces everything else.
Changing that line only changes where you need to copy the final product from in the second stage of the docker image.
@@krisrivera4215 thank you ❤️
Great video, love the content thanks Kris and Alex..super
The thorough Docker walk-through was nice and broke down the steps pretty well. It'd have been nice to have just gotten direction on the Docker-specific stuff, not how you build your app. 🙄 That was frustrating to watch. You're probably solid on that knowledge. 😎
I just want a cli tool that has preconfigure templates with a guided process to automate all this.
I have done docker compose few times, normally once every few months, each time i want to do it, it is like a woke up from a long amnesia and need to look up a bunch of docs or tips to do basic things again.
i want a create-react-app but for docker containers.
Or i might as well build right?
Nice session.
hey 👋 Haven’t seen you round lately. welcome back
Thx for good video, great job more the same vide ))
ty!
I am not fond of Docker (yet), but the material is interesting - I'm flying with the second part 👍
👍
right back at ya 👍 and thanks!
The directory scope is still a bit confusing -- is "/var/tmp" actually relative to the current directory where the Dockerfile is, or is it actually /var/tmp? I'm imagining it's ./var/tmp because we can't do a "../". Now, if you can't do a "../", how do you use other code modules that may not be in the same language? I don't want to make separate Docker images for components, and that doesn't seem like the right thing, anyway. OTOH, it's hard to tell, since so many examples on the net are just toys.
Great content and it was very informative! Easy to understand clean work and clear. I really enjoyed this video! Thanks
In general.. Is this the same process to build and run an image for php application?
I'm trying to containerize my project at the same time as well. This is super helpful! Cant wait to the second episode. Maybe we could use the compose file to connect backend and mysql as well?
I need part 2!!!!!!!
what are you using for recording the call on your side screen ?
i output hdmi to an atem mini
@@AZisk yeah I got that 😂 I was curious about the actual software you were using on the second display. It seem to be running on a secondary macbook on the side or on the actual MacStudio for the actual like "video conferencing ish / stream recording software"
None the less appreciate the wasted time answering my nonsense question 😂
@@luismadeira7921 ah gotcha. i used riverside.fm to do the conference and both of out streams were recorded locally. then i downloaded the high res vids from my riverside.fm session. however, i’ve discovered quality issues with riverside.fm and have since canceled my membership.
@@AZisk VDO ninja may be the answer?
Thanks for good video, great job.
Can you please let me know the program or the website you are using to make the video call and screen sharing?
i used riverside.fm. it’s better than zoom, but it’s not better than some other (more expensive) things
At 34:22, why doesn't docker cache the build command?
Alex is moving to a whole new level with this video. Keep them coming! I know, I know, the testing stuff have more views.
this channel used to be all tuts, but i got like 200 views on those vids. there is a balance to be struck and i am trying to figure it out
@@AZisk Yes, I checked your prior videos, but as I said, this testing thing is doing you good. If you may, keep those (like this) coming.
Hello Alex, Great video and thanks to Chris for his great explanation. I just have a question that might be a good candidate for a new video. Seems yr daily workflow doesn't involve docker and usage of a containerization platform. It might be a good idea to show an example of your daily workflow and current challenges/needs that make you consider switching to docker. Have a nice day Alex and I really enjoy your videos, and looking for part two of this one 😀😀
Hey @Alex Ziskind. I love this video on docker. Do you think you can maybe do an addendum video on using Kubernetes Helm chart to deploy this dockerized image on a K8 cluster? It would be much appreciated.
one thing if you guys can add for next video, docker compose env var setup and change angular uri as env dynamic command when container up
will part 2 have a db in the docker container?
Great video to onboard more people on using Docker! And stop using angular xD
Can you do a kubernetes one as well? Greatly appreciated!! Great videos btw!
Damm I loved!
so what exactly is docker used for?
Docker is used to run any sequence of commands and programs in a virtualized environment, all completely controlled by the command line. It allows you to run the same process on any computer, no matter the operating system of the computer.
what mbp did you used for this video ?
my m1 max
@@AZisk thanks, awesome session of docker
Now do the CI/CD stuff
honestly Docker kinda sucks and is more hassle than it's worth. By itself it's just annoying, but when you combine it with k8 it's a waste of time. I'm convinced K8 is a google trojan designed to win the cloud race, but sadly google failed to win. They thought K8 would trojan win their way to #1, but they forgot the reason they aren't #1 is the shitty docks, poor support, inconsistent UI design across GCP console and bloated junk.
The entire 5month life cycle for K8 is just complete asinine BS.
i have limited experience w docker, but from what i’ve used it for it helps me quite a bit. specifically, im not a php dev and don’t use mysql, but a project i currently work on uses that stack. instead of wasting an incredible amount of hours learning how to configure php and mysql and the hosting services, all i do is just spin everything up w one docker-compose command, which lets me skip the config bs and get to code. so i’d say that no tool that tried to solve complex problems is perfect, but if it helps me do dev work quickly, i will keep using it.
I wasn’t interested for a while as it seemed overkill but it turned out useful as an isolated way to deal with stuff requiring x86. Also turned out useful to set up a toy SAML IdP to play around with single sign on.
(x86 on m1 cleanly, that is)
@@billeterk I use it local dev and it's nice during dev. But as a long term production deployment strategy, it's just a maintenance nightmare.
Thank you @Krisrivera4125 this was excellent 👏🏿