Docker Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ธ.ค. 2022
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 77

  • @MoAbualruz
    @MoAbualruz ปีที่แล้ว +32

    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.

  • @cheebadigga4092
    @cheebadigga4092 ปีที่แล้ว +15

    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".

  • @siljeff2708
    @siljeff2708 ปีที่แล้ว +4

    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 ปีที่แล้ว +7

    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.

  • @A_G420
    @A_G420 ปีที่แล้ว +1

    Been wanting to try docker & feel like this is a good video to get started with it. Thanks

  • @MysteryMan159
    @MysteryMan159 ปีที่แล้ว +1

    Definitely marking this to watch later!

  • @mnhworkdev1652
    @mnhworkdev1652 7 หลายเดือนก่อน

    Love the fact you like the Inheritance Cycle

  • @shubhamchavan757
    @shubhamchavan757 ปีที่แล้ว

    Productive Information
    Chris you should do a series on docker.
    Thanks buddy

  • @NachtmahrNebenan
    @NachtmahrNebenan ปีที่แล้ว +3

    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.

  • @spookybuk
    @spookybuk ปีที่แล้ว +5

    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 :(

  • @blitzkringe
    @blitzkringe ปีที่แล้ว +1

    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.

  • @cxl520
    @cxl520 ปีที่แล้ว +1

    I like docker compose over cli, it create nice layout. And easy adjust setting.

  • @richardtwyning
    @richardtwyning 2 หลายเดือนก่อน +1

    Wow, Portainer! So easy to set up! Thank you 🙂

  • @sokoloft3
    @sokoloft3 ปีที่แล้ว +4

    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 ปีที่แล้ว +2

      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.

  • @johnworoniuk477
    @johnworoniuk477 ปีที่แล้ว

    Very good tutorial. Thank you

  • @monad5
    @monad5 ปีที่แล้ว +3

    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

  • @send2gl
    @send2gl ปีที่แล้ว +1

    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.

  • @C6438911
    @C6438911 ปีที่แล้ว +2

    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.

  • @CandyCaneChris
    @CandyCaneChris ปีที่แล้ว +3

    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.

  • @Daggenthal
    @Daggenthal ปีที่แล้ว +1

    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 :)

  • @Jool4832
    @Jool4832 ปีที่แล้ว +24

    Have you checked out Podman?

    • @avinashfernandes6612
      @avinashfernandes6612 ปีที่แล้ว +10

      This. There is also podman-docker package for docker compatibility

    • @ChrisTitusTech
      @ChrisTitusTech  ปีที่แล้ว +11

      I need to dive into this, I have a fedora install on the inside rig and would be a perfect starting point.

    • @iamrage4753
      @iamrage4753 ปีที่แล้ว +3

      @@ChrisTitusTech doing podman would be a great idea, managed with cockpit as no support for podman using portainer or yacht

    • @themedleb
      @themedleb ปีที่แล้ว +3

      Cockpit is amazing.

    • @avinashlp713
      @avinashlp713 ปีที่แล้ว +3

      Same thought i had when i saw the title, Podman is so good man!
      Also, Great video Chris!

  • @MichaelWilliams-lr4mb
    @MichaelWilliams-lr4mb ปีที่แล้ว +10

    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.

  • @13thravenpurple94
    @13thravenpurple94 ปีที่แล้ว

    Great video Thank you

  • @scudsturm1
    @scudsturm1 ปีที่แล้ว +1

    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

  • @vagabondsajib9676
    @vagabondsajib9676 ปีที่แล้ว +1

    Hey Titus, can you create a video about how to set up and use distro-box.

  • @carsondesignsstuff
    @carsondesignsstuff ปีที่แล้ว +1

    Chris wanted to ask your opinion on Windows N versions is this something worth using or regular versions of windows?

  • @diazepamkit
    @diazepamkit ปีที่แล้ว +1

    its pretty nice to re cover the docker guide gg

  • @TheLazyJAK
    @TheLazyJAK ปีที่แล้ว +7

    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 ปีที่แล้ว +3

      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.

  • @JRVerster
    @JRVerster ปีที่แล้ว

    Excellent video, when are you going to do the Alpine video?

  • @BrotherPatrix
    @BrotherPatrix ปีที่แล้ว +1

    I love Podman!

  • @neon_Nomad
    @neon_Nomad ปีที่แล้ว +3

    Not docker related but recently found a ps script for a one click pihole wsl container created by the github user desktopEcho

  • @marek7673
    @marek7673 ปีที่แล้ว +1

    can you make tutorial about nexcloud or other NAS on docker?

  • @dimitristsoutsouras2712
    @dimitristsoutsouras2712 ปีที่แล้ว +1

    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

  • @billc3114
    @billc3114 ปีที่แล้ว

    What kind of development do you do Chris? Any Linux devel?

  • @bitterrotten
    @bitterrotten ปีที่แล้ว +2

    Your cheat sheet is missing two things:
    - The keystroke to exit the container you exec'ed into.
    - docker system prune -a --volumes

  • @dolvur
    @dolvur ปีที่แล้ว +2

    Does anyone know what desktop environment or tiling manager he is using?

  • @badpickle2347
    @badpickle2347 ปีที่แล้ว +1

    How effective /efficient is docker inside proxmox? - - Also what is alpine Linux?

  • @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?

  • @diginomad6016
    @diginomad6016 ปีที่แล้ว +2

    OMG omg here comes the life saving video..

  • @colinpotatofamine6183
    @colinpotatofamine6183 ปีที่แล้ว +3

    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.

  • @eduardabramovich1216
    @eduardabramovich1216 8 หลายเดือนก่อน

    which desktop environment are you using here?

  • @LeandroSilva-yo1qh
    @LeandroSilva-yo1qh ปีที่แล้ว +1

    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

  • @AliensInc.
    @AliensInc. ปีที่แล้ว +1

    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?

  • @johnrussell6971
    @johnrussell6971 ปีที่แล้ว +1

    I couldn't install the debian package (docker-desktop), it said that it couldn't install docker-ce-cli, a dependency.

  • @carlosdantenicolasdelafuen1293
    @carlosdantenicolasdelafuen1293 ปีที่แล้ว +1

    👏👏👏 Gracias 👍

  • @whoismab
    @whoismab ปีที่แล้ว

    Can you make review video on FYDEOS…

  • @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.

  • @robxlove
    @robxlove ปีที่แล้ว +1

    What about the Dockerfile?

  • @rubberduckey5630
    @rubberduckey5630 ปีที่แล้ว

    docker-compose FTW!

  • @nicolasotero6424
    @nicolasotero6424 ปีที่แล้ว +1

    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.

  • @betterstack
    @betterstack 3 หลายเดือนก่อน

    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 💪

  • @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.

  • @danielc.6644
    @danielc.6644 9 หลายเดือนก่อน

    But is this explosed to the outside? I only want to use it in localhost

    • @LordHonkInc
      @LordHonkInc 8 หลายเดือนก่อน

      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).

  • @prakhars962
    @prakhars962 ปีที่แล้ว +4

    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

  • @jeremiassamuelzitnik
    @jeremiassamuelzitnik ปีที่แล้ว +1

    But why would u use docker instead od VM?

    • @blitzkringe
      @blitzkringe ปีที่แล้ว +1

      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

  • @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! 😊

  • @danilolgbarbosa
    @danilolgbarbosa ปีที่แล้ว +1

    oiiii

  • @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 ปีที่แล้ว +1

    Oiiii

  • @hahalolha
    @hahalolha ปีที่แล้ว +1

    *[Insert BSD Jails comment here]*