Rancher vs. Portainer - Which one should I choose?

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Rancher vs. Portainer, which one is better" Which one should I choose? Can Portainer manager Kubernetes? Can Rancher manage Kubernetes? We answer all these questions and more in this quick, no fluff video. Side note, this is one of the most asked questions in my live streams.
    Video Notes: technotim.live...
    ★ Subscribe! l.technotim.li...
    ★ Join me live on Twitch l.technotim.li...
    ★ Get Help in Our Discord Community! l.technotim.li...
    ★ Subscribe to Techno Tim Talks! l.technotim.li...
    ★ Documentation found here l.technotim.li...
    Support me on Patreon: / technotim
    Sponsor me on GitHub: github.com/spo...
    Subscribe on Twitch: / technotim
    Become a RUclips member: / @technotim
    Merch Shop: l.technotim.li...
    Gear Recommendations: l.technotim.li...
    Get Help in Our Discord Community: l.technotim.li...
    2nd channel: / @technotimtalks
    (Affiliate links may be included in this description. I may receive a small commission at no cost to you.)
    #Rancher #Portainer #HomeLab
    "Shadowboxing" is from Harris Heller's album Breaker.
    l.technotim.li...
    Thank you for watching!

Комментарии • 107

  • @TechnoTim
    @TechnoTim  3 года назад +23

    Do you use Rancher or Portainer?

    • @Belioyt
      @Belioyt 3 года назад +6

      Rancher

    • @benp439
      @benp439 3 года назад +18

      Portainer, I don't really need to work with kubernetes, and need to keep it light and simples as possible.

    • @Trailcrypting
      @Trailcrypting 3 года назад +4

      Portainer for testing new services and rancher to spin up my frequently used containers like traefik, pihole and so on..

    • @bbtwano
      @bbtwano 3 года назад +4

      Portainer. I haven’t messed with kubernetes much and it works great for my docker containers

    • @shetuamin
      @shetuamin 3 года назад +5

      I use Portainer. I used before rancher, ubuntu host inside freenas. I think it is very complicated for me.

  • @kosikond
    @kosikond 3 года назад +45

    Latest Portainer also can process Docker Compose v3 yaml, finally 🙌

  • @eformance
    @eformance 3 года назад +9

    Point of interest: If you create a docker swarm and run portainer agent as a service, you can manage containers running on all members of the swarm, allowing you to deploy here and there. The biggest shortcoming of the Portainer/docker relationship is the lack of a default Registry to allow you to share the same images across all members of the swarm. You must download images to every member in the swarm and you must be careful when running docker builds to ensure the builds is run on the same host you plan to launch the container on, or you have to manually copy the image to other members of the swarm.

  • @reesericdotci
    @reesericdotci 3 года назад +10

    rancher has objectively more features, so the choice is clear for me. I also love that reverse proxy, ingress and then cert-manager auto-deploys certificates with ACME and an internal ca. love rancher, love k8s

  • @ApexFPS
    @ApexFPS 3 года назад +10

    Still blows my mind how do you don't have over a 100k followers yet!

  • @lukescomputers
    @lukescomputers 3 года назад +9

    Awesome video! By far one of the best self hosted/homelab channels I've seen!
    One thing I learned about rancher vs portainer is that if you are using an older or low power computer (sometimes this can be true for raspberry pi's too) , portainer runs better. With rancher I saw large cpu usage and rancher kept restarting when I opened the webui while being run on an old dell. Portainer ran fine, but I agree for running it on newer hardware rancher is my first choice.

  • @JanBebendorf
    @JanBebendorf 3 года назад +3

    There is a key difference between Portainer and Rancher: While Portainer just allows you to connect to an EXISTING kubernetes cluster and roughly manage resources deployed inside, Rancher will actually completely manage your kubernetes cluster and makes setup and maintainance a charm. Like you said, for plain docker i would always go for Portainer and i love it. Even if you don't use the Portainer dashboard it's a great way to get an authenticated proxy for the docker api. Still when it comes to Kubernetes i would always go for Rancher for cluster management and K8S Dashboard + Rancher Dashboard for resource management inside the cluster.

  • @daledriver5469
    @daledriver5469 3 года назад +29

    I have used both rancher and portainer. However, I find portainer use much less resource on my budget server. I like rancher better, maybe when I migrate to a more powerful server someday.

    • @AlexSchiessl
      @AlexSchiessl 3 года назад +2

      Yup, same experience here at my mini home lab with Raspis and one 2011 mac mini... So for now, I stick with portainer... d

  • @TheBrettDuncan
    @TheBrettDuncan 3 года назад +3

    I'm running Portainer mostly because I'm not really utilizing Kubernetes. I also found the Portainer UI to be a little more inviting. I think I'll spin up a Rancher instance this weekend and check it out, though.

  • @squalazzo
    @squalazzo 3 года назад +1

    simply: both! I've a proxmox server, where i installed docker directly on host, too, to spin up small containers i don't need to be replicated (like a small dns, or haproxy), and there i installed portainer and rancher, too... and used rancher yesterday (following your videos, thanks!) to install a 3master+3workers cluster, awesome how easy it was!

  • @charlescc1000
    @charlescc1000 3 года назад +1

    Perfect timing. Been using Docker-compose for a while but recently began diving into considering Portainer as well as considering moving my containers over to K8s

  • @jig1056
    @jig1056 2 года назад

    I'm portainer guy.. it suits my needs really well. I really only use docker-compose, I tried rancher and Kubernetes but it seems overly complicated for what I'm doing. One thing I love about using docker is I create my compose files in my test environment and then when all is working as expected I can deploy that same file to my prod environment. With rancher it seems like I had to use the GUI to enter in all of my attributes. That may not be the case but I didn't get much further than that. I used your video that you put out last year on rancher and Kubernetes, it was great, easy to follow, and it got me up and running. Once it was all going I just figured it was too complex for me. I really do appreciate you making these videos, they are educational and entertaining.

    • @TechnoTim
      @TechnoTim  2 года назад +2

      Thanks! I use kubernetes manifests (deployment/service yaml files) and use kubectl to deploy them. I never configure anything in rancher (and even portainer) I always use a cli because it is repeatable!

  • @aytviewer2421
    @aytviewer2421 3 года назад +2

    No fluff!!!! Excellent. Thanks!

  • @RonDLite
    @RonDLite 3 года назад +1

    Thank you for confirming my pick of Rancher

  • @RobertMizen
    @RobertMizen 2 года назад

    I could not really decide, but i am going to have a play with Rancher. Purely due to the tutorial you did on self hosting services and exposing services via rancher to the web. But as you said, spin up Portainer and see what it feels like too.

  • @rickytorres9089
    @rickytorres9089 3 года назад +1

    We been trying to find alternatives of running game servers in containers because the de facto software of Pterodactyl is quite inaccessible to me. However someone mentioned that Portainer lacks the ability to view files and edit them. As well as issuing an SSL for the UI. I wish there were a "simple" single node solution to managing containers. Which comes with the basics (logging, file manager, editing files, etc) and can be installed and managed relatively easily.

  • @spaceco1
    @spaceco1 3 года назад

    I had followed your video for setting up Portainer, and then tried to follow your video for containerizing Plex. I wasn't able to mount my TrueNas SMB share in Portainer (and found some posts mentioning that this is not (yet) possible in Portainer if you are only running Kubernetes). I am going to try out Rancher now and see whether that fits me more.
    Thank you for all you amazing tutorials!

  • @Equality-and-Liberty
    @Equality-and-Liberty 2 года назад

    I use both of them, but I must say if you want to run Rancher with Kubernetes you must have the necessary resources to do it. You can’t install it on a laptop with for instance a i7 processor and 8 gig of ram. You will need a server with enough memory and CPU power. Portainer on the other hand is a lightweight solution which can connect to a docker instance running on a NAS. It is much easier to run containers in Portainer. However, if you want a high available solution Rancher is a better option

  • @majorgear1021
    @majorgear1021 Год назад

    If you run each container stack in it's own linux container ( lxc ) under proxmox for flexibility like I do, Portainer is not an option as you'll need an expensive business license to allow enough agents. Having a separate linux container for each docker stack is nice as you can easily manage it's resources and move it to another proxmox host from the Web UI.

  • @julian6316
    @julian6316 2 года назад +1

    Hey Tim, thanks for the great Video. Maybe you could compare both Solutions by conparing their used ressources in the Future. I mean the load that Rancher produces is damn high.

  • @jeffreyplum5259
    @jeffreyplum5259 2 года назад

    Portainer seem to plug into the Cockpit server management system. I do not know how to add Rancher to a Cockpit instance. Portainer seems to have replaced cockpit-docker for Ubuntu Server. I am new to Docker and servers in general. You have always been a great source of Server / HomeLab info. Many thanks

  • @jvm-tv
    @jvm-tv 3 года назад

    My favourite tech teacher. Well explained!

  • @ShurovAnt
    @ShurovAnt 3 года назад

    Maan, I've been watching your video on Rancher (+k8s + minecraft), and, having using Portainer for a while, I got a thought - what's the difference between Rancher and Portainer... I should google it afterwards!
    .... and at the video end I got a suggestion to this one! Thanks! Stream on!

  • @SlipperyCarrot
    @SlipperyCarrot 3 года назад

    Was just asking myself that exact same question this morning.
    Thanks a mill for this, and the other videos. Youre doing a great job 👍🏻

  • @gnatsum64
    @gnatsum64 3 года назад

    Thanks Tim. I was just wondering this very thing. I think Rancher is going to be the better choice for me.

  • @krishnakanthati
    @krishnakanthati Год назад

    Got the answer. It's Rancher. Thanks!

  • @dougsellner9353
    @dougsellner9353 3 года назад

    Both good and have their place, rancher is a must have, portioner so light - why not use both

  • @labcrowd
    @labcrowd 3 года назад +1

    Any chance for a ZoneMinder deployed on Rancher video ? Great content btw

  • @stitch10925
    @stitch10925 3 года назад +1

    Hey Tim,
    How about some video's on NFS software like Ceph or Gluster?

  • @vitaliykharin3997
    @vitaliykharin3997 4 месяца назад

    free version of portainer allows only 3 nodes is Rancher can help me with just docker containers?

  • @jesusandrade1292
    @jesusandrade1292 3 года назад +6

    I needed this video in my life :D ILY

  • @JerryWoo96
    @JerryWoo96 3 года назад +2

    have you played with authelia? how can i integrate authentication to my services using authelia or similar?

  • @mudgw2
    @mudgw2 3 года назад +3

    I couldnt get Rancher to install no matter how much I tried, but Portainer worked without a hitch... :(

  • @nitin992vij
    @nitin992vij 3 года назад

    Thanks for all the excellent content. Looking forward to hear your views on kubernetes operator or creating one in Golang, in some upcoming videos.

  • @amaraldavi
    @amaraldavi 3 года назад

    Awesome content! Cheers from Brazil!

  • @oneplustwo4657
    @oneplustwo4657 3 года назад

    Quick and good comparisons....

  • @thehollowbox
    @thehollowbox 3 года назад

    Nice short and concise video. I like it.

  • @coletraintechgames2932
    @coletraintechgames2932 3 года назад

    A lot of people love your videos because you get right to it. Boom, Bing bam.
    You did a rancher install where you added minecraft, I know, but I'd love a sequel to that video where you ramble on about features of kubernetes or options. Or the components of kubernetes. I would like to dive into rancher again soon, I put it aside to work on other stuff, I followed the video but just don't feel like "I get it" everything works, I just want more.
    Thanks for all you do, just had to get my 2 cents in.

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Thank you for the feedback!

  • @rallisf1
    @rallisf1 3 года назад +8

    First of, it's awesome seeing a devops geek version Johnny Depp doing youtube tutorials. That said; I always considered docker a dev-environment tool and only lately have I actually served docker containers in production. Looking for management software, I ended up using Portainer. I have my own high availability IaaS, so I don't need replication/orchestration/load balacing at all and I have my own scripts to manage versioning/updates/backups etc. Nonetheless; I have gotten anxious that my setup is getting obsolete as everyone is switcing to kubernetes. Is there any reason for me to switch to k3s? (k8s would be an overkill for me)

    • @TechnoTim
      @TechnoTim  3 года назад +1

      Thank you! 100% k3s. I have some videos on how to bootstrap k3s!

    • @TechnoTim
      @TechnoTim  3 года назад +1

      But just to expand, if you want higher availability for your containers and learn the kubernetes way, I say go for it! Portainer or Rancher can help if you are new to kubernetes.

    • @rallisf1
      @rallisf1 3 года назад

      @@TechnoTim care to explain how single-pod k3s apps are better than plain old docker? I really can't see the benefit, yet everyone says kubernetes is the way to go.

    • @TechnoTim
      @TechnoTim  3 года назад +2

      There are added benefits to running k3s even with single node. cleanup, health checks, ingresses, helm charts, kubectl api to manage, and many other features. You also have the option to expand your nodes as your workloads grow. Scale horizontally and not vertical. Also, you get to learn k3s :)

  • @hawwestin
    @hawwestin 3 года назад +1

    When on question asked you as a response here a question. You should know that you have asked wrong question in first place.
    The evaluation table for each one of use may contain same statements but they may lay in different domains. The best solution is not one, just use both. And use their strong points and mitigate week points with the other tool.

  • @tubejim101
    @tubejim101 3 года назад +1

    What about licenses?

  • @Botio
    @Botio 3 года назад +1

    Vim or VS code? can be next episode.... since now the video is very short

  • @settlece
    @settlece 3 года назад

    Thanks Techno Tim

  • @LampJustin
    @LampJustin 3 года назад +2

    Call me weird but I use kubectl and docker cli almost exclusively XD

    • @0dyss3us51
      @0dyss3us51 3 года назад

      Any specific reason?

    • @LampJustin
      @LampJustin 3 года назад

      @@0dyss3us51 I just like the flexibility and using the cmdl is just a great way to learn. Since I'm pretty familiar with it now, most GUIs don't provide all the functions I need or depend on. I still have the kubernetes dashboard deployed don't get me wrong it's great same as Rancher, but I like my yamls and helm so I have to use the comdl anyways. And yes I know that you can deploy helm with rancher, but I want to my cluster to be replicatetable, so I use a folder for every helm deployment.

  • @ronald0122
    @ronald0122 3 года назад

    thank you tim. i love your videos. you are good guy

  • @esra_erimez
    @esra_erimez Год назад

    Any chance of an update to this video with contemporary versions?

  • @koevoet7288
    @koevoet7288 3 года назад

    Whats the difference between kubernetes and docker? I currently use docker with portainer what differences would kubernetes with rancher have?

    • @FlexibleToast
      @FlexibleToast 3 года назад +2

      Kubernetes is a desired state orchestrator for containers across one to many hosts. I'm pretty sure Portainer with Docker Swarm is essentially the same thing though. The advantage of Kubernetes is that the enterprise world has settled on it as the standard for container orchestration and therefore has a lot of things developed for it. Things like operators which can make your life even easier by making things like storage, databases, etc... automated.
      Also, as this video states, Portainer recently added the ability to control Kubernetes clusters.

  • @chucknorres5885
    @chucknorres5885 3 года назад +1

    Command line :)

    • @RonDLite
      @RonDLite 3 года назад +1

      You can manage rancher from cli with kubectl.

  • @jonwest8766
    @jonwest8766 3 года назад

    Rancher doesn't officially support ARM but portainer does - so I guess I have only 1 option on Raspberry pis

    • @FlexibleToast
      @FlexibleToast 3 года назад

      Rancher works just fine with ARM. Even Longhorn works... Albeit Longhorn was too slow to be stable on my Raspberry Pis and most of the apps Rancher has access to are x86 only.

    • @TechnoTim
      @TechnoTim  3 года назад

      Same here. Works fine, Longhorn, metrics, and all!

  • @michaelganesan4578
    @michaelganesan4578 2 года назад

    How crippled is the Portainer's community edition? You seem to favor Rancher.

  • @Dynamic-Productions
    @Dynamic-Productions 3 года назад

    Rancher because there hasn't been a reverse proxy video by you on Portainer yet!

  • @Yankzy
    @Yankzy 2 года назад

    Ok I'll subscribe just for that middle forehead salut 😃

  • @cristobalortizortiz
    @cristobalortizortiz 3 года назад

    i use portainer

  • @JonaYepiz
    @JonaYepiz 3 года назад

    so i tried using both in one machine and i think i broke rancher trying to use them both 🙃😅😐

    • @TechnoTim
      @TechnoTim  3 года назад +3

      Don’t cross the streams! Haha!

  • @marknefedov
    @marknefedov 3 года назад

    Octant

  • @GeorgeKowalski
    @GeorgeKowalski 3 года назад

    You should have at least said. If your starting off with neither. I would use ...

    • @TechnoTim
      @TechnoTim  3 года назад +6

      I did

    • @coletraintechgames2932
      @coletraintechgames2932 3 года назад +2

      Right at the beginning.
      I'm paraphrasing...
      If you are using docker only, then portainer.
      If you are managing kubernetes, then rancher.

    • @TechnoTim
      @TechnoTim  3 года назад +5

      @@coletraintechgames2932 then I said if you’re using neither, spin each up at the end 😀