Yes and I do prefer to do so especially to avoid any crypto mining packages from a third-party image. Two things that I think are cool to share about it in the next video is about the tag USER -- it took me a while to find out about it -- and Docker's buildx -- especially for developers that use SBC as their homelab -- as do I.
I was actually working on figuring out a quick little Nginx container for a school project, and this is SOO much simpler than other tutorials I found online, plus you just plain explain thing beautifully. Your videos are just amazing!
I have avoided containers for a long time now. But I am having to face the fact that I for some things I no longer have an option but to run them as containers - and some of those tools want me to build my own docker images. I was wondering what tool you are using to create your docker files - it has some sort of integration with docker hub, and auto completion (both features I could use, as I don't intend building docker images to be a main part of what I do).
This timing is legendary. I just started looking into using containers for my setup and the first video i see is this one. Awesome vid btw, just what i needed
Couldn't agree more about the timing. Although I have been using docker for over a year I only recently built my first docker image which is a clone of wordle and also happens to be based on nginx-alpine. 😃
I just wanted to drop you a quick note to express my appreciation for the fantastic video tutorial you created. Your clear explanations and step-by-step guidance made learning 'Docker containers' a breeze!
finally an actual practical tutorial that doesn't spend 90% of the time just explaining a bunch of boilerplate things like how to install it & what containers even are.
This is the first video on docker that I have watched that makes sense of docker for me, in a way I can understand. Thank you so much! Now I'm going to attempt my first container 🙂
Bro this video is amazing. I just discovered Docker a few weeks ago, I had always just used Virtual Box or VMWare VMs. I figured out how to spin up a Unifi container pretty quickly, but what I really wanted to know was how to build my own container so I could do some custom things. This video tutorial is perfect!!
Definitely agreed with all the other comments, great tutorial and a lot of gems worth diving deeper on outside of this video. 3 improvements IMO - 5 to 10 seconds without wasting time 1 - mention the OS you're on 2 - mention the installer of Docker you used 3 - actually show the Dockerfile being created so it's clear about file extension I'm seeing the bigger picture more and more now.
DUDE thank you! I've been looking for a video like this that starts from the beginning and does a simple example that's easy to follow. Usually the videos all show these big applications that they are wanting to containerize and it can be hard for a beginner to follow along.
Man this tutorial is super awsome and beginner-friendly. The presentation style is awesome - to the point and just the enough amount of info in one video. Thanks a lot!
I’ve used Docker for 4-5 years. Just wanted to watch and see how you covered it. Great tutorial. You should do a video on Docker-compose if you haven’t already. I think your teaching and explanation of things is some of the best on RU-vid. Also you can show people Docker desktop and how you can alternatively do some of this stuff via Docker desktop once they learn the basics. I think I also watched a video of yours a while back talking about dual booting from linux and windows…you earned my sub back then cuz your explanation was amazing as it is also in this video. Keep up the awesome work. I’ll be on the lookout for new content so I can learn something new
Thank you so much! A lot of time and effort goes into my choice of words and how I explain thing so I appreciate you noticing and leaving such a nice comment! More where that came from!!
I did! Well done video, I probably won't need to be building my own containers much but had a special case, need to set up a quick web server to test something. Video was great! Oddly probably the most useful thing for me in the video was "exec into a container". I only knew how to do that from portainer and it wasn't working on one container but through this command in docker I was able to do it!
Another GREATI video! I love your tutorials. You started out with really "good" content (I've watched from day one), but now, it's at a much higher-level. This tutorial with your direct, to-the-point explanations, really helped me. I've tossed up Docker and K8s but the amount of notes I have is overwhelming. Especially when I want to spend five minutes and not five hours. I set this to over 100 contacts at work, and about 180 (I forget the number in the email group) at home. Programming friends who like similar content. Keep up the great job! (Now rewatching "Uptime Kuma" video to get it working in my new K8s.)
Your videos are phenomenal, yesterday I started looking at Ansible on your channel and made me wanna learn Devops (Ansible and Docker). Thank you so much, your explanations are by far the best on YT. Thank you once again, all the best! 😄
A container is a runtime environment that only contains the configuration and dependencies required to run that software only. It differentiates itself from a VM because VM's contain everything required to run the OS plus the runtime. I've had to explain this a billion times at work. Thanks for the video!
Very good my man. Loved this sort of thing! Just great overall stuff... Please do more along these lines. I can tell you were "right at home" with this stuff, but it was so good for me. So good, thank you.
Great video. Thanks. I have discovered that running an image using a Dockerfile from Docker Hub, with only the '-d' flag, does not always create a container that stays up and running. I've had to run the image with '-dit' to create the container(s). Also, some images don't run to create the container if a command (CMD in Dockerfile) is missing.
I think this tutorial was really awesome. Thank you! I followed along and tried all the things while watching. Didn't bother building such a fancy web page tho xD mine was just a hello world, but you got the point across neatly!
Great job with the tutorial Tim! 🚀If anyone’s looking for more Docker videos, we’ve released a web-based Docker viewer and a logging tutorial to help the community too 💪
Thank you for all your videos. I was able to learn a lot from your work and videos and it would have been much harder to read books and documentation instead. I often see you in your videos typing code into VS Code and "magically" completing "things". Perhaps you can briefly explain at this point which VS extensions you installed and why? Or is it even worth making your own video for it? I hope you have fun making videos like this for a long time to come.
Clear and concise. Though I couldn’t get intellisense to work with the FROM command. Where your video has intellisense suggesting available repos after the FROM command.
Actually its rather easier. Now i have 4 images that i use to test my scripts or to mess around with and it took very little time to setup. I couldn't find a good example for building a dockerfile, but will in the long term. I think in the end dockerfile is the way to go. However, what i did was collected a folder with all my scripts and stuff, and created some scripts to setup my environment, which included downloading cli apps like nano, tmux, vim (to practice), wget, curl and mc. Then i copy my dotfiles to /root, and then source the new .bashrc, and voila, a perfectly (for my use) docker container!! excellent!!!!
What an absolute banger of a video. Loved everything. The editing, the pace, what you explained. I learned more in 18 minutes than in other 2 hour long videos about the subject. Got a question, and would love some pointers on how to search for it: I work on web dev and we're having issues running the project on arm / m1 machines, as the project setup is really finicky and needs a really specific host configuration to build the way it should. So my plan with docker is to create an image with everything I need to develop _inside_ the image. Meaning a fully-fledged ubuntu-based image with my zsh, neovim, nvm to manage npm+node, including my configs for all those programs, and my work project too. Pretty much a 'clone' of the important stuff of my PC. I've done simple nginx releases in the past, but i'm completely lost on how to tackle something this complex. - I would work by exec-ing into the docker image. Performance is not an issue, as the image-runner would be really beefy.
I was just about to start a course on udemy for docker, I feel I can avoid 4+ hours in that course with this one video of yours. Now if you could make one like this for docker swarm or kubernetes it would be amazing.
swarm and kubernetes are completely different, I propose to start with swarm if you want to make some high availability between your home services and few physical machines
Great tutorial! I had a question about the starting point FROM in a Dockerfile. You mentioned you can start with a Linux operating system but you could also start with FROM python. Just wondering what the implications are for your starting point. Like, you wouldn't be able to run your web server if you started with Python? Or does it assume a native OS?
Hi...great tutorial... I understand now K8s only support containerd as runtime interface, so can I still run dockerfile in that K8s? Hope someone can clarify further. Thanks
Id like to see you do a tutorial of windows docker containers…it seems to be entail a lot more tedious set up to actually run them…and I’m curious as to what their use cases might be
In docker file I used the same copy command as you did COPY src/html usr/share/nginx/html but when I cat into dockerfile the copy is empty...how can check the destination path in my local host to confirm if it is the same as urs as it could be the possible issue..thanks
had a nightmare getting this working on windows 10 home os. Had to enable windows hypervisor platform in windows features then restart Docker. Then stop my default IIS site which was running on port 80. Finally also found the browser was caching web requests from before I had my system setup properly so had to clear manually go in and clear the browser cache. Hoping this will help someone else go through less pain in future!
What should i do if i only see my html documents on my website not my java script files or css files? I have linked my whole folder and if i run my code locally (not on docker) i see those css editing and java script.
Dockerhub shows 1.21.6-alpine and 1.22.0-alpine in your video. I even see this now when I visit Dockerhub. How did you determine that 1.10.1 was the latest version? Is there a tag that I'm not seeing? Is there maybe a docker command I can use to query for the lastest versions of base images?
I’ve had my homelab for about a year. But it’s undergone so many changes. There was no organization. 4 pi nodes started it. To now 2 gen8 hp proliant that first ram esx to now running proxmox. No real goal except to learn. But I’ve thought of tearing it down. And using ansible to rebuild it all. I guess does ansible start or pfsense or auth or duplicati or docker start it all. With the idea, if I had a worse case scenario happen, what could I do now to make it easier to build using latest software or do you just backup/restore? I like the idea of running scripts to fire off new builds. Maybe make it modular and not one depending on another server
Love your channel but I hate your terminal setup. While this might work for you and I can follow what you are doing but most people won't. Having a profile with the full path will be very helpful for people following along. This is just constructive criticism. Your channel is amazing and learned a lot from it.
Thanks for the feedback! Not sure I understand what you mean about having a profile with the path and how most people won’t be able to follow? These are just docker commands.
Hello, thanks for this super video, it's really helpful. I found a mistake in the documentation for the listing of docker images, isn't it "docker images" instead of "docker ls"?
I don't understand how you even created the yaml file at the beginning as there is no option when I downloaded VS Code, how to got it to the server from your client, and how to converted the yaml file into a Docker file. Missed a lot of steps there.