Docker Guide

  Рет қаралды 74,696

Chris Titus Tech

Chris Titus Tech

Жыл бұрын

This is a full walk-through and guide for Docker.
Website Guide: christitus.com/docker-guide/ .
►► Digital Downloads ➜ www.cttstore.com
►► Reddit ➜ / christitustech
►► Titus Tech Talk ➜ / titustechtalk
►► Twitch ➜ / christitustech

Пікірлер: 79
@MoAbualruz
@MoAbualruz Жыл бұрын
Chris I have watched your videos since years, this is my 1st time commenting today, I just want to say thank you for sharing the knowledge, and doing exciting projects.
@siljeff2708
@siljeff2708 Жыл бұрын
Docker on my NAS is only used for Jellyfin and Pi-hole, and I would love to get more use out of it. This is the perfect video for a Friday!
@Coopertronics
@Coopertronics Жыл бұрын
Yes please do an Alpine video. That system is super fast and robust. As far as I know the host system can't run a hardened kernel while running Docker, but Alpine is security based, so maybe that will negate the problem.
@cheebadigga4092
@cheebadigga4092 Жыл бұрын
All distros except Debian Buster (version 18) have a fairly recent up-to-date version in their repos (version 20). Of course you'll get the latest patch release by using the official Docker repos, but they're on-par feature wise. So "these things are NOT bad" and WON'T "turn into a nightmare".
@A_G420
@A_G420 Жыл бұрын
Been wanting to try docker & feel like this is a good video to get started with it. Thanks
@MysteryMan159
@MysteryMan159 Жыл бұрын
Definitely marking this to watch later!
@johnworoniuk477
@johnworoniuk477 Жыл бұрын
Very good tutorial. Thank you
@richardtwyning
@richardtwyning 3 ай бұрын
Wow, Portainer! So easy to set up! Thank you 🙂
@13thravenpurple94
@13thravenpurple94 Жыл бұрын
Great video Thank you
@sherrilltechnology
@sherrilltechnology 18 күн бұрын
Thanks so much Chris such a great video and will help me on my channel as I am learning Docker right now!
@blitzkringe
@blitzkringe Жыл бұрын
Docker is so awesome. I strongly believe that not only developers and cloud architects should be familiar with it, but any Linux user if he does any stuff fancier than just launching a web browser.
@Jool4832
@Jool4832 Жыл бұрын
Have you checked out Podman?
@avinashfernandes6612
@avinashfernandes6612 Жыл бұрын
This. There is also podman-docker package for docker compatibility
@ChrisTitusTech
@ChrisTitusTech Жыл бұрын
I need to dive into this, I have a fedora install on the inside rig and would be a perfect starting point.
@iamrage4753
@iamrage4753 Жыл бұрын
@@ChrisTitusTech doing podman would be a great idea, managed with cockpit as no support for podman using portainer or yacht
@themedleb
@themedleb Жыл бұрын
Cockpit is amazing.
@avinashlp713
@avinashlp713 Жыл бұрын
Same thought i had when i saw the title, Podman is so good man! Also, Great video Chris!
@NachtmahrNebenan
@NachtmahrNebenan Жыл бұрын
I use Docker as a kind of package manager when I install things without really installing it (deep into my system). For example databases, npm and the like. Local working files get mounted into the containers.
@cxl520
@cxl520 Жыл бұрын
I like docker compose over cli, it create nice layout. And easy adjust setting.
@shubhamchavan757
@shubhamchavan757 Жыл бұрын
Productive Information Chris you should do a series on docker. Thanks buddy
@TheLazyJAK
@TheLazyJAK Жыл бұрын
Please do a video on docker compose! It helped me learn about docker containers and their options etc way easier than those long one line commands. Much cleaner! Also check out rancher :)
@sagichdirdochnicht4653
@sagichdirdochnicht4653 Жыл бұрын
Seriously! Docker-compose is around a billion times easier and more manageable. I mean it doesn't make a big difference for "one time deploys". But AS SOON as one is trying to modify the container, this is soooooo much better. Just modify the yml and up again with the container. LOL. Some people actually use portainer to manually deploy containers. It's like 5-10 Minutes of work for EVERY Container and EVERY time you just wanted to modify like a port or a volume. Docker-compose is just redicolously userfriednly compared to that.
@sokoloft3
@sokoloft3 Жыл бұрын
I re-did my vps earlier in the year using docker/docker images. Really nice having a pre-built package for nginx rtmp ingest with stunnel rtmps. I'll have to look into portainer. Only issues I have with it is maintaining it. Updating the container if a new image becomes available. As well as running commands inside the container.
@blitzkringe
@blitzkringe Жыл бұрын
Why running commands inside container is an issue? Isn't it as simple as just 'docker exec -it containername bash'?
@joshua_lee732
@joshua_lee732 8 ай бұрын
Want to update the container? Just use docker pull to grab the new image than re run the run command use the same container name, it'll recreate the container.
@mnhworkdev1652
@mnhworkdev1652 8 ай бұрын
Love the fact you like the Inheritance Cycle
@CandyCaneChris
@CandyCaneChris Жыл бұрын
Top things I end up helping people with when they start using docker are: Docker Desktop is only good for testing (use Portainer instead), volume mapping, and user permissions.
@spookybuk
@spookybuk Жыл бұрын
One minute into a video saying this is for people like me (who don't know what Docker is) and still I don't know what Docker is :(
@MichaelWilliams-lr4mb
@MichaelWilliams-lr4mb Жыл бұрын
I'm actually using Podman instead of Docker (it came with openSUSE MicroOS), but it's compatible with Docker images. I mostly use it for Distrobox and running Linux containers with that, but also setting up Wordpress development environments. And since I'm using an immutable distro, all my apps are flatpaks, appimages, or in docker containers anyway. So really, I use it for just about everything.
@send2gl
@send2gl Жыл бұрын
That was an interesting video. Got a bit confused with last yaml file creation but maybe if I watch again it will make more sense.
@diazepamkit
@diazepamkit Жыл бұрын
its pretty nice to re cover the docker guide gg
@C6438911
@C6438911 Жыл бұрын
If you have the time, you should also take a look or dive into 'distrobox'. its super handy utility to have (multiple) linux distro's inside your main distro your using.
@diginomad6016
@diginomad6016 Жыл бұрын
OMG omg here comes the life saving video..
@BrotherPatrix
@BrotherPatrix Жыл бұрын
I love Podman!
@neon_Nomad
@neon_Nomad Жыл бұрын
Not docker related but recently found a ps script for a one click pihole wsl container created by the github user desktopEcho
@JRVerster
@JRVerster Жыл бұрын
Excellent video, when are you going to do the Alpine video?
@kj2w
@kj2w 12 күн бұрын
I tend to use Docker only at home (work won't let us install Docker due to the daemon needed) and being a software engineer I will use it to run something like SQL Server to connect my apps to. Or another service like Redis for learning about cache.
@monad5
@monad5 Жыл бұрын
what about the overhead of running every service in a docker container? what are your alternatives? especially when running multiple server services on a low performance machine
@Daggenthal
@Daggenthal Жыл бұрын
Curious about your thoughts on Podman for RedHat, as you mentioned Kubernetes. Studying for my RHCSA at the moment and am learning Podman as well :)
@scudsturm1
@scudsturm1 Жыл бұрын
i have a question chris do i always need the latest kernel or is the one in mint 21 version 5.15 sufficient? i have a lenovo legion 5 with a Ryzen 5600H and an asrock deskmini a300 with a Ryzen 3200g i was wondering because wikipedia already shows kernel 6.0
@bitterrotten
@bitterrotten Жыл бұрын
Your cheat sheet is missing two things: - The keystroke to exit the container you exec'ed into. - docker system prune -a --volumes
@vagabondsajib9676
@vagabondsajib9676 Жыл бұрын
Hey Titus, can you create a video about how to set up and use distro-box.
@carlosdantenicolasdelafuen1293
@carlosdantenicolasdelafuen1293 Жыл бұрын
👏👏👏 Gracias 👍
@carsondesignsstuff
@carsondesignsstuff Жыл бұрын
Chris wanted to ask your opinion on Windows N versions is this something worth using or regular versions of windows?
@marek7673
@marek7673 Жыл бұрын
can you make tutorial about nexcloud or other NAS on docker?
@colinpotatofamine6183
@colinpotatofamine6183 Жыл бұрын
Docker is fun to mess with and makes running local network services really easy. Currently I have containers for: Transmission, Jupyterlab (this is super cool since I can do stuff anywhere on a super light, low powered laptop and the server is doing the heavy lifting), Homer, Nextcloud, Plex and Photoprism (probably getting rid of this since it seems redundant). Also dabbled with running Phantombot but never really had any use for that in the end.
@Patricia-kk8tr
@Patricia-kk8tr Жыл бұрын
I have a 8gb mac mini 2014 1tb nvme, and want to stream and have pi-hole on the mac. Portainter hasn't been developed since Mojave so docker-compose was suggested in the comments. Does that support a low power system like mine? Does docker-compose have same access to images for alpine, Ubuntu server edition with script for LMS music streaming, and abcde ripper?
@billc3114
@billc3114 Жыл бұрын
What kind of development do you do Chris? Any Linux devel?
@dolvur
@dolvur Жыл бұрын
Does anyone know what desktop environment or tiling manager he is using?
@dimitristsoutsouras2712
@dimitristsoutsouras2712 Жыл бұрын
At 11.07 you omit to mention option -d which runs it s a daemon. I don t know how else it could have run but i see it with the -d parameter all the time. Another thing that makes me wonder is why the installation of docker is with the .io version, while the portainer with the .ce I f I can recall .ce has the latest images and not the .io
@LeandroSilva-yo1qh
@LeandroSilva-yo1qh Жыл бұрын
I am a begginner on Mx linux. I have a problem, when I transfer any big files to an extra hdd, the linux is freezig. I can't open even a browser. My pc has 32 gb ram, 5950x ryzem, 6900xt. is there anyone any easy solution. ? thank you
@rubberduckey5630
@rubberduckey5630 Жыл бұрын
docker-compose FTW!
@betterstack
@betterstack 4 ай бұрын
Great stuff Chris! 🚀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 💪
@eduardabramovich1216
@eduardabramovich1216 9 ай бұрын
which desktop environment are you using here?
@badpickle2347
@badpickle2347 Жыл бұрын
How effective /efficient is docker inside proxmox? - - Also what is alpine Linux?
@userpc168
@userpc168 Жыл бұрын
Hey Chris, awesome video. Can you make a Windows version? I don't have Ubuntu.
@blitzkringe
@blitzkringe Жыл бұрын
Docker for Windows is a joke.
@FHB71
@FHB71 Жыл бұрын
I am torn between Docker and K8s. Once you have managed all the housekeeping of K8s and are using Helm, K8s is IMHO much easier than Docker. But that hurdle has to be crossed first. You will get quicker results with Docker. In the end it doesn't matter. However for both the main disappointment is that neither is supported by Windows Server and I cannot understand why MS has stopped its path that was started a few years ago.
@johnrussell6971
@johnrussell6971 Жыл бұрын
I couldn't install the debian package (docker-desktop), it said that it couldn't install docker-ce-cli, a dependency.
@AliensInc.
@AliensInc. Жыл бұрын
Anyone know a docker that can handle the old flash player games? Not the ones that just run a SWF, this needs internet connection as it's a multi user and multi country game?
@whoismab
@whoismab Жыл бұрын
Can you make review video on FYDEOS…
@prakhars962
@prakhars962 Жыл бұрын
For people working on HPC clusters/supercomputers Docker is useless. We use Apptainer.
@MoAbualruz
@MoAbualruz Жыл бұрын
Not totally true, it is much easier to use Apptainer or Kubernates or whatever more scalability minded engines, but if you have proper scripts and pipelines and checks, preferably with some automation with ansible or any automation tool of your choice you can get all what you want from plain docker. So I would not call it useless I would call it less optimal
@prakhars962
@prakhars962 Жыл бұрын
@@MoAbualruz you can't use docker on supercomputer
@robxlove
@robxlove Жыл бұрын
What about the Dockerfile?
@danielc.6644
@danielc.6644 9 ай бұрын
But is this explosed to the outside? I only want to use it in localhost
@LordHonkInc
@LordHonkInc 9 ай бұрын
TL;DR: You can use dockers for localhost-only things, yes. I give this information from experience but without warranty: docker containers are limited to your local machine unless and until you give them access to the local machine's network (for example by port-forwarding into/out of the container). I use local docker instances and am reasonably sure they're not communicating to the outside world (which I tested by unplugging my router from the internet and seeing that my containers didn't notice the difference).
@jeremiassamuelzitnik
@jeremiassamuelzitnik Жыл бұрын
But why would u use docker instead od VM?
@blitzkringe
@blitzkringe Жыл бұрын
Because of performance overhead. Running an app in a container is as fast as running it on a bare host system.
@jeremiassamuelzitnik
@jeremiassamuelzitnik Жыл бұрын
@@blitzkringe nice
@nicolasotero6424
@nicolasotero6424 Жыл бұрын
Nice video!! However, there are a lot of videos about standard docker. It could be a very interesting contribution a video about podman or rootless docker with the purpose of increasing the standard security. Another interesting idea would be how to work with Docker+firewalls.
@pakings
@pakings Жыл бұрын
What waz he talking about that "Sonar"? I like to learn about it
@pakings
@pakings Жыл бұрын
@@nicelemon7562 Ah crap! I was searching for Sonar and SonarQube which have no info about any "streaming". Thanks for the reply NiceLemon! Legend! 😊
@BillSawyerPlus
@BillSawyerPlus Жыл бұрын
a 20 min video and all the work just to create a shortcut to Github, you know you can just drag a link to your bookmarks right?
@danilolgbarbosa
@danilolgbarbosa Жыл бұрын
oiiii
@hahalolha
@hahalolha Жыл бұрын
*[Insert BSD Jails comment here]*
@danilolgbarbosa
@danilolgbarbosa Жыл бұрын
Oiiii
How to Create an Enterprise Home Lab
15:41
Chris Titus Tech
Рет қаралды 64 М.
Learning Docker // Getting started!
35:56
Christian Lempa
Рет қаралды 105 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 106 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 28 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 8 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 58 МЛН
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 507 М.
OpenAI's New SearchGPT Shakes Up the Industry, Google Stock CRASHES!
10:10
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 878 М.
Running Windows in a Docker Container!
10:07
Wolfgang's Channel
Рет қаралды 291 М.
Linux Problems
11:39
Chris Titus Tech
Рет қаралды 135 М.
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 723 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,4 МЛН
BLOCK EVERYTHING w/ PiHole on Docker, OpenDNS and IFTTT
18:38
NetworkChuck
Рет қаралды 750 М.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,6 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 131 М.
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 1,6 МЛН
Зарядка-брелок для Apple Watch
0:39
Rozetked
Рет қаралды 263 М.
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН