Installing Portainer and Portainer Agent - An update to show you an easier way to manage Docker.

  Рет қаралды 32,872

Awesome Open Source

Awesome Open Source

Күн бұрын

I'm making this as an update to my Portainer video that is now easily more than a year and a half old. The good news is that the old video for Portainer install is really the same as this one will be, except that since the original video the Portainer team split the project into Portainer (a more advanced version of the software available to those who license it), and Portainer-CE (Community Edition) the fully open source version that eventually gets some of those more advanced features.
For my uses and needs as a homelab user, Portainer-CE works just fine, and is a tremendous tool for managing my docker containers.
The second part of this tutorial is about installing Portainer Agent. An agent software that allows the fully installed Portainer-CE to act as a frontend for your Docker containers on other host machines. I also did an older video on how to use Portainer in this way, in particular with a Raspberry Pi as the secondary host, but it was, at best, clunky to get setup and working. Portainer Agent, however, is a much simpler, and more straight-forward install.
LINKS ============================================
Show Notes
wiki.opensourceisawesome.com/...
Portainer CE Documentation
documentation.portainer.io/v2...
Docker Install Scripts
github.com/bmcgonag/docker_in...
Support my Channel and ongoing efforts through Patreon:
www.patreon.com/bePatron?u=23...
Reach Out and Join the Discussion or Ask Questions
discuss.opensourceisawesome.com
TIMESTAMPS =======================================
00:00 Beginning
00:09 Introduction to Portainer-CE and Portainer Agent
04:10 Thank you to all of my Patrons at Patreon and my Subscribers on KZfaq
04:40 Setup a VPS for Testing on Digital Ocean (Affiliate Links below)
10:25 Install Docker-CE and Docker-Compose
14:50 Install Portainer-CE on Docker
18:10 Login to our Portainer-CE as an Admin
19:45 Portainer-CE UI Overview
27:15 Install Portainer Agent on Secondary Host
28:00 Add Portainer Agent to our Main Portainer-CE Install
CONTACT ============================================
Rocketchat: discuss.opensourceisawesome.com @mickintx
Twitter: @mickintx
Telegram: @MickInTx
Mastodon: mastodon.partecipa.digital/ @MickInTX
Try out SSDNodes VPS Services! Amazing Specs for incredibly low costs. I'm running a 32 GB RAM / $ CPU Server for only $9 a month! Seriously. FOr long term server usage, this is the way to go!
www.ssdnodes.com/manage/aff.p...
Get a $50.00 credit for Digital Ocean by signing up with this link:
m.do.co/c/a6a61ae55242
Use Hover as your Domain Name Registrar to get some great control over you domains / sub-domains:
hover.com/SHPaiirr
Support my Channel and ongoing efforts through Patreon:
www.patreon.com/bePatron?u=23...
What does the money go to?
To Pay for Digital Ocean droplets, donations to open source projects I feature, any hardware I may need to purchase for future episodes (which I will then give to a subscriber in a drawing or contest).
=== Attributions ===
Intro and Outro music provided by www.bensound.com

Пікірлер: 72
@BlueBearOne
@BlueBearOne Ай бұрын
I've been studying and messing around with this stuff for about 2 months. I'm still terrible. However, without ANY DOUBT this channel has the BEST videos by far. And I'm able to get stuff working (mostly). I just want to say thank you. The way you present the material, your teaching style, you not talking over people's head, your clarity, and ability to not "get lost in the weeds" is outstanding! You have done more for me than MANY of the other top channels...COMBINED. I mean this. So with all my heart...THANK YOU!!! ❤❤❤
@AwesomeOpenSource
@AwesomeOpenSource Ай бұрын
Glad my content helps you out.
@DanWolf-codeNerd
@DanWolf-codeNerd Ай бұрын
Very relaxed, friendly tone and pace. Seems like a patient guy and I'd love to work with him. Make sure to skip 4 minutes ahead if you don't want to listen to a long talk about why companies that produce open source need to also make revenue by selling business licenses or services. I wish that could be split into a separate video. I recommend starting there because he then talks about his channel and how to support him. If you must skip that, then go to 7:30. If you know how to install and manage Docker and use Digital Ocean, a shorter faster paced thing. More focused on Portainer might be better, but if you're a beginner, this is where to go.
@AwesomeOpenSource
@AwesomeOpenSource Ай бұрын
I'm a very relaxed guy most days. The info about supporting open source is really important though. I know it's not why people look into open source initially though.
@DanWolf-codeNerd
@DanWolf-codeNerd Ай бұрын
@@AwesomeOpenSource My dream is to retire early and work fulltime in understaffed open source projects and I donate a small amount to open source and am interested in increasing that. All that said, I'm a big defender of the same things you talked about. I encourage (without success most of the time) my employers to support open source, and I have a lot of interest in discussions around sustainable business models were open source can be supported. It's important to note that most development in the biggest open source projects like Linux come from big tech companies, and the Linux Foundation itself focuses on organization, outreach, and education. Open source thrives when you have fulltime paid developers working on it. It's a difficult topic, and it seems like you're a fantastic proponent of those things. Perhaps my issue is that I am not as relaxed and felt frustrated by trying to do some quick research and finding a few slow moving videos which focused on things I wasn't as interested in. That's my fault, not yours. Your patience is an asset in an unforgiving, demanding open source world. Thanks for the comment.
@RoshiGaming
@RoshiGaming 2 жыл бұрын
been diving into the deep end with docker and have no idea what i'm doing, and finally I come across a very easy to follow video and I'm finally up and running without issues!
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
I'm glad my Channel is helping!
@demazero
@demazero 2 жыл бұрын
many thanks. I just learn about portainer agents it make me confused about how to setting it. with this video, I really understand how to create an agent and it works. again ... many thanks
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Very happy it helped you.
@MRPtech
@MRPtech 2 жыл бұрын
Fantastic. Your video helped me a lot !
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Glad to hear that!
@jimallen8238
@jimallen8238 11 ай бұрын
First 7 minutes is an extended public service announcement. If you clicked because of Portainer, skip ahead to the 10:00 minute mark or so. - Update - I was probably a little rude in just posting the time stamp without context. Make no mistake, I appreciate the video and the effort that went into it.
@AwesomeOpenSource
@AwesomeOpenSource 11 ай бұрын
I do indeed make long form content. It's not for everyone, but for the absolute beginners I like to give some extra information and context to the topics I cover. I hope you found the information you were looking for.
@jimallen8238
@jimallen8238 11 ай бұрын
@@AwesomeOpenSource I do value your content and I appreciate your efforts. You have clearly made a difference in bringing more people into open source. The length of your videos are not a problem for me. This particular intro, though, felt like you had something to get off your chest relative to supporting developers. Maybe you had a recent incident or conversation that made this more compelling for you. It’s just felt a little preachy. My 2 cents.
@AwesomeOpenSource
@AwesomeOpenSource 11 ай бұрын
Not to worry. I do, at times, get on a roll about supporting open source. I hope that what I'm saying is coming off more along the lines of ... we can support open source in many different ways. Pick the one that fits you best. I always appreciate the feedback, so thank you, seriously.
@jforbush
@jforbush 3 жыл бұрын
perfect timing as I literally installed porta inter on my raspberry pi running ubuntu server!
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
Excellent!
@jforbush
@jforbush 2 жыл бұрын
@@AwesomeOpenSource stupid autocorrect!
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
@@jforbush no worries, it bites us all.
@0027speedy
@0027speedy Жыл бұрын
thanks for a very informative video this really helped me. Thank you
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Glad to hear it!
@navarrohillsranch
@navarrohillsranch Жыл бұрын
Awesome video!
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Glad you enjoyed it
@vuongvo240
@vuongvo240 2 жыл бұрын
Thank you for your sharing!
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
My pleasure.
@ThePoorInvestor
@ThePoorInvestor Жыл бұрын
Thank you for creating this video! For some reason, you're the only one show me that Portainer Agent is a separate entity from the Portainer proper. The CLI generated by portioner itself to add to a secondary docker host to link to the first host just doesn't work. I don't know why. But your agent docker CLI works. Great video. I know we all have to eat/pay rent/mortgage/bills. Wouldn't it be better if we transcend beyond "material things" like in Star Trek The Next Generation? :)
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Glad I could help!
@jig1056
@jig1056 2 жыл бұрын
This is a great video. Very helpful, I tried to do this a couple of years ago but couldn't figure it out and forgot about it. I have Portainer running on 8 different hosts and this makes life so much easier. No more logging in and out for me :) One quick correction, in the public IP field you should not include the agent port number. If you include the port number then the publish port URL on the container list is not going to work. Thanks for making this video.
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Glad it helped!
@AdamWeeks
@AdamWeeks Жыл бұрын
@@AwesomeOpenSource you should pin Mark's comment
@marilynlucas5128
@marilynlucas5128 Жыл бұрын
Thanks homie
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
My pleasure.
@sanjeev2003
@sanjeev2003 3 жыл бұрын
Great video as always. I have a question to ask. How good is the service of SSDNodes regarding uptime, security, reliability and so on? Thanks in advance.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
My experience with them for over a year is that they have provided what I need. I don’t run production systems, but I use the server I have 6 cores with 32 G Ram to run 30 containers, some pretty heavy even just idling, and it seems to work fine. As for security, it seems as secure as any to me, if course the security of your virtual server is up to you, firewalls, SSH keys, non-root user, etc. I’ve been perfectly happy with them thus far. Others who try to push the server to the limit 100% of the time seem unhappy with the way they virtual use. I haven’t experienced that.
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
For those wondering, I'm using Kubuntu 20.04 as my Distro on this video. future videos will show me using Pop_OS 21.04.
@DevilDriver665
@DevilDriver665 3 жыл бұрын
Any special reason for switching to Pop_OS other than distro hopping?
@AwesomeOpenSource
@AwesomeOpenSource 3 жыл бұрын
@@DevilDriver665 My LUG does a Distro of the month, and Pop_OS 21.04 was the one for last month. I went ahead and installed it right on the machine to really give it a go. So far it's really good. Enjoying it.
@iamk3jja
@iamk3jja 3 жыл бұрын
@@AwesomeOpenSource Pop_OS has become my daily driver with the 21.04 update. 20.04 was good, but I really love the updates in 21.04!
@101CBR600RR
@101CBR600RR 2 жыл бұрын
Hmm with the new script you - it mentions that it might take some time and to be patient. How long should it be taking? I am using a very basic linode server (looked to be a similar spec to what you showcased in your video). EDIT: I ended up running update & upgrade prior to running the script and that helped progress the install (done within a couple of minutes). Prior it stalled.
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Yeah, I was trying to be less spammy with all the messages, and ended up making it nerve racking I think if you have a lot of updates to wait on.
@krdesigns
@krdesigns 2 жыл бұрын
What is the difference between installing an agent or setting up to allow remote connections?
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Portainer is the full application with the WebUI, the agent is the application, but intended to be managed through another Portainer full install. So you manage two servers from one UI. One the full install, and one with the Agent. If you don't mind logging into two places, you can run it as a remote connection.
@heritic1hero
@heritic1hero 2 жыл бұрын
I've been using the Synology OS. I've been running into 505 errors when attempting to redeploy containers. I have to manually remove the container from via Synology Docker UI, then install from portainer. Not that bad of an issue, but some containers fail to install at all Pretty sure some permissions are messed up somewhere. Any tips on properly installing this suite on Synology's OS?
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Synology is definitely a special beast. I'm not super familiar with it, but it could be a limitation in the say docker is deployed via Synology as well.
@majorgear1021
@majorgear1021 Жыл бұрын
Did they neuter the community edition? I'm on "Community Edition 2.16.2" and there isn't a Settings->Endpoints entry on the menu, or anywhere on the screen for that matter. Since I run docker on multiple hosts, it would be nice to have the agent feature to manage and monitor them. Here is how I installed it docker volume create portainer_data docker run -d -p 8000:8000 -p 9443:9443 --name portainer \ --restart=always \ -v /var/run/docker.sock:/var/run/docker.sock \ -v portainer_data:/data \ portainer/portainer-ce:latest
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
I believe they moved it to "Environments". They made a UI update a few versions back, and it changed then I'm sure.
@majorgear1021
@majorgear1021 Жыл бұрын
@@AwesomeOpenSource That worked! I was afraid that they made the feature exclusive to the business edition. Fortunately, that is not the case.
@markstanchin1692
@markstanchin1692 2 жыл бұрын
Is this still the best way to install? You show another way in the show notes. Do you have a updated method I’m not sure which to follow I’m starting over with clean Ubuntu server install and this time creating dir for all the containers.
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
I'm not following what you mean by a different way in the show notes. I'm showing two parts to Portainer. ! is the local Portainer install. You'd install that on a local machine to get to the Portainer UI in a web browser. The other thing I show is installing the Portainer agent for a 2nd, 3rd, 4th, etc. machine and connecting to it from that main Portainer install. this gives you the ability to maintain multiple servers with Portainer from a single interface / web address. My docs are up to date, so everything should work there.
@whocares3132
@whocares3132 Жыл бұрын
how to uninstall docker completly?
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
How did you install it? On what OS?
@whocares3132
@whocares3132 Жыл бұрын
@@AwesomeOpenSource Ubuntu 22.04 lts
@crazycorg1
@crazycorg1 2 жыл бұрын
Why doesn’t portainer support compose 3 yet??? It’s very annoying
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
I'm fairly certain it does. I've used compose 3 files on portainer stacks with no issue.
@crazycorg1
@crazycorg1 2 жыл бұрын
@@AwesomeOpenSource I think the business version has it but not the CE
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
@@crazycorg1 So, when you say version 3, it may depend on which version 3. I know I've tried like 3.7 as a version and that gives me trouble, but 3 seems to work in CE for me. I believe it was in version 2.1 that they started supporting Version 3 compose. Could be wrong on their version, but somewhere around that.
@PortainerIO
@PortainerIO 2 жыл бұрын
@Crazycorgi we've had support for compose 3 since February (with the release of CE 2.1.1). Here's the link to the details. www.portainer.io/blog/portainer-release-2.1.1
@crazycorg1
@crazycorg1 2 жыл бұрын
@@PortainerIO that’s weird because my portainer on version 2.6.2 still says “This stack will be deployed using the equivalent of docker-compose. Only Compose file format version 2 is supported at the moment.” But anyways thanks for making a great application guys!
@r4venlord82
@r4venlord82 Жыл бұрын
To bad that portainer-ce ain't as good open source as before, just alot of "buy BE" everywhere :( Great video tho!
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Sure, but at the same time, it's a super powerful product. They need to keep the project going, so supporting it is important.
@joepriority
@joepriority Жыл бұрын
Skip the first 5 minutes where he gives a pointless rambling lecture on open source software. The rest is good.
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
My content is long-form, and descriptive. Intentionally so. My goal is to educate on open source, not just provide half baked tutorials. There are plenty of channels for that.
@Digital.s
@Digital.s Жыл бұрын
since the script is missing, this video is worthless. can't track at all!
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Apologiex, but the show notes should have the new location. Here it is however, as I've moved it to GitLab. gitlab.com/bmcgonag/docker_installs
@valentinvintila7027
@valentinvintila7027 2 жыл бұрын
Useless , regarding Portainer menu...I know to read the text on Portainer menu!!...On images was "image name is required" and just pass to this without even mentioning!..no added value from this video...but, for the Portainer agent the explanations are OK and thx for this!
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Glad the Portainer Agent portion was helpful. For the rest, I’m sorry it didn’t help you as much.
@neilcresswell6539
@neilcresswell6539 2 жыл бұрын
Thank you so much for this video, and for your vote of support for our commercial version of Portainer. You are correct, Portainer Business funds the ongoing development of Portainer CE. 90% of all dev effort goes into Portainer CE, so its a very rich product. 95% of users will remain on CE forever, but those that help us by upgrading, we thank you. Neil@portainer.io
@AwesomeOpenSource
@AwesomeOpenSource 2 жыл бұрын
Thank you so much for such a great product! Truly amazing!
@peterlustig362
@peterlustig362 Жыл бұрын
Free VPN / Tor + orbot (+maype orxy) orbot proxy
@AwesomeOpenSource
@AwesomeOpenSource Жыл бұрын
Is this a request for a video?
Dolibarr ERP / CRM - Open Source ERP / CRM software for the masses.
35:57
Awesome Open Source
Рет қаралды 27 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 163 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 40 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1 МЛН
How to manage Kubernetes & containers with Portainer
35:26
That DevOps Guy
Рет қаралды 22 М.
Dockge: The New Docker Manager You Need To See!
22:23
DB Tech
Рет қаралды 85 М.
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 133 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН