Тёмный

Add ALL of your Docker Hosts to ONE Portainer Dashboard Using the Portainer Edge Agent 

Noted
Подписаться 15 тыс.
Просмотров 31 тыс.
50% 1

Learn how to put all of your Docker hosts into one Portainer dashboard using the Portainer Edge Agent. It literally takes 2 minutes! Using the Portainer Edge Agent does require you to be using a Portainer host with port 8000. See the instructions below.
Install Portainer using the following command.
sudo docker run -d \
--name="portainer" \
--restart on-failure \
-p 9000:9000 \
-p 8000:8000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest
Portainer Edge Agent Instructions
downloads.port...
Video on how to install Portainer on Ubuntu
• Install Docker and Por...
👍 Subscribe!
www.youtube.co....
❤️If you want to make a monetary donation. Thank you!
ko-fi.com/geeked
💬 Join us on Discord
/ discord
Tags used in this video:
2021, portainer, download, tutorial, networking, selfhosting, self-hosted, self hosting, geeked, homelab, geekedtv, grablab, linux, nginx proxy manager, docker compose, docker, radio station, self hosted radio station, portainer edge agent, edge agent

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 64   
@selfhosted
@selfhosted 3 года назад
Let me know what you'd like to see a video on. I'm looking for new ideas!
@KyleRassweiler
@KyleRassweiler 3 года назад
I haven't checked if you have it covered already, but maybe a local DNS server (Or how ever you manage to access things internally and externally).
@mguilherme82
@mguilherme82 3 года назад
What about creating a cluster with portainer? Not sure if you already done it!
@michaelmuyakwa4269
@michaelmuyakwa4269 3 года назад
Pipelines with Jenkins. Example: Whenever you update a Docker-Compose.yml or Docker-File and update it to a git repository, then let Jenkins pick it up and test it and execute it, if the test was successful.
@DimitriPappas
@DimitriPappas 2 года назад
Managing (automatic?) updates for several hosts, vm's, containers etc / at scale.. that's something I need to figure out because I spend a lot of time keeping things up to date and needing to interact with update prompts, especially with apt/apt-get ! I guess there's not going to be a silver bullet for every OS, application, hardware brand etc out there, but definitely getting this covered for the home-lab side of things at least, could free up a lot of management time to use for other purposes instead
@selfhosted
@selfhosted 2 года назад
@@DimitriPappas Ansible is great for updating multiple containers at once. Just run the script and it does everything for you.
@jumpman1823
@jumpman1823 3 года назад
That fact that we're halfway through 2021 makes 2020 feel like a fever dream.
@darthkielbasa
@darthkielbasa Год назад
One of the great things about finding a content creator a few seasons into their game is watching the backlog of videos and finding super useful stuff. Thanks for posting this. I have several portainer instances across several devices and this will tidy things nicely.
@mguilherme82
@mguilherme82 3 года назад
Thanks for the video, I’m a portainer user for several years and had a few instances running in a few hosts, this is perfect 🙂
@dushkodavchev
@dushkodavchev 2 года назад
First of all, I want to thank you very much for this video. I'm currently running version 2.14.2 and they implemented the bar for arranging by tags, groups, etc. I found this video very helpful and I'm really glad I found your channel.
@KyleRassweiler
@KyleRassweiler 3 года назад
My duuuuuuuuuude! Thank you, for what ever reason I was struggling to wrap my head around this for months!
@selfhosted
@selfhosted 3 года назад
They’ve made it pretty simple. Just run the agent command they give in the portainer dashboard on your docker host and connect it. Super simple eh?
@michaell7511
@michaell7511 3 года назад
Holly molly! Did you say "you hoped this help a few people out there"? That's an understatement. This is an amazing tutorial. Thank you sir!
@mirahles
@mirahles 10 месяцев назад
this was something that i never knew i could do but it has changed so much about how i do stuff
@ViperGuy15
@ViperGuy15 3 года назад
YES. THIS IS THE SOLUTION I WAS LOOKING FOR. so many portainer installations lol thank you
@RandyHanley
@RandyHanley 3 года назад
Always love your videos, man! You always make it to-the-point and easy to understand. I appreciate your hard work.
@cattivello
@cattivello 2 года назад
Fantastic. thanks. I run the latest portainer now October 2022. It seems that the Public IP you cannot add it while creating the Edge Agent. But once created, edit and add the IP. Works really well. Thanks for the video.
@cmndthor0
@cmndthor0 2 года назад
It looks like they renamed Endpoints to Environments in an update. Incase someone else is confused.
@ulrichbeutenmuller8101
@ulrichbeutenmuller8101 2 года назад
Thank you!
@anibalandrade754
@anibalandrade754 Год назад
Congrats for the video! Straight to the point and helped me a lot!
@andre-le-bone-aparte
@andre-le-bone-aparte Год назад
Just found your channel. Excellent Content. Another sub for you sir!
@magicmanj32
@magicmanj32 3 года назад
I will be implimenting this for sure, thanks for the video
@royitoroy
@royitoroy 2 года назад
wow this its good, ive always thinked that it should exist this solution but i didnt know how thanks for yu video... i ask myself... do i have to install portainer in all the other machines that i wan to run docker as well to connet it with the main portainer?
@TheHesster
@TheHesster 3 года назад
What's the difference between using the portainer edge agent and the portainer agent? I've been doing this but using the agent by deploying the agent only and then adding the endpoint at Port 9001. It seems to have the same functionality but maybe I'm missing something???
@selfhosted
@selfhosted 3 года назад
Because you are exposing the API. The edge agent doesnt need modification to any files and it only allows one machine to bind to it. Bit more secure that way but either work
@TheHesster
@TheHesster 3 года назад
@@selfhosted gotcha thanks!
@mattiashedman8845
@mattiashedman8845 3 года назад
Great video! I just started using Portainer after years of taking care of docker-compose files. Still am but I needed a more simple log tool and a gui for it all. But doing as you say, I do get an heartbeat but when I click on it I get an error.. Failed loading endpoint Endpoint is unreachable and there is no snapshot available for offline browsing. What is up with that? Any idea?
@nelsonmercedes1774
@nelsonmercedes1774 2 года назад
did you figure anything out? same problem here.
@mattiashedman8845
@mattiashedman8845 2 года назад
@@nelsonmercedes1774 I left Portainer all together and been using docker-compose ever since without any issues.
@mattpowell3287
@mattpowell3287 3 года назад
Hi, great video, thanks. Can you please let me know how to update the portainer edge agent once it is installed and operational? Thanks.
@33jnewman
@33jnewman 3 года назад
Hey thanks for this. Unfortunately I am getting results similar to killbotvii in that the newly created endpoint has status of associated and never proceeds. Would you have any idea why this occurs?
@DimitriPappas
@DimitriPappas 2 года назад
Any specific reason you choose to run each of your apps in their own LXC containers, over running a single docker/portainer instance on proxmox and then hosting all the apps within that rather?
@selfhosted
@selfhosted 2 года назад
Good question and I'll explain. I like to tinker a lot. SO if I am hosting websites for someone or myself and I need to reboot the container, it takes down every single app with it. I do it this way for that exact reason.
@DimitriPappas
@DimitriPappas 2 года назад
@@selfhosted Ah nice, that makes a lot more sense ! Thanks for responding :D
@dennisyildirim2708
@dennisyildirim2708 2 года назад
Did not work on my case, somehow says environment is unreachable. I see the heartbeat though. Checked if it's firewall related , took down the firewall on synology, but still it could not reach to my PC portainer agent.... Searched over the web, irrelevant posts everywhere...
@Varian-Killbot
@Varian-Killbot 3 года назад
This did not work for me. I followed your instructions to the letter, then started over and tried again, and it still refused to show a heartbeat, only ever displaying "associated" crossed out. It seems that this does not work if the server is outside your network.
@clixt984
@clixt984 2 года назад
I ran into this issue when I click "Finish" before running the docker command. Make sure you run the docker command first before "finishing" the wizard. This is on Portainer 12.14.2 BTW.
@matthewterpstra4675
@matthewterpstra4675 3 года назад
My 2 other instances won't open and say the endpoints are unreachable.
@selfhosted
@selfhosted 3 года назад
Is your Portainer instance exposing port 8000? If not, reinstall it using the command in the description. :)
@sparrowhawkl
@sparrowhawkl 2 года назад
@@selfhosted Perfect! thank's
@Avico78
@Avico78 Год назад
great one! thanks for sharing , what's the name of the dashboard u are using?
@andreaskoller6133
@andreaskoller6133 Год назад
It’s Homer
@clixt984
@clixt984 2 года назад
I followed this tutorial to the dot, and I was able to get a heartbeat, but that's it. I get a "Environment is unreachable error"
@asaf7132
@asaf7132 2 года назад
did you find any solution?
@clixt984
@clixt984 2 года назад
@@asaf7132 Actually yes, but it's probably not best practice since it's more a band aid fix. What I did is since I already use Cloudflared (tunnel) is I just made a new tunnel that points to [server-ip:9001] and used Agent, not Edge Agent. In the Zero Trust settings, make sure it's HTTPS and that No TLS Verify is enabled. Edit: I tried messing with it by adding valid certificates, and I broke it. Can't seem to fix it haha. Edit 2: The latest version of Portainer (2.15.0) will not allow you to connect to the Agent via URL only, hence my solution won't work anymore.
@ronm6585
@ronm6585 3 года назад
Thanks.
@chei86
@chei86 7 месяцев назад
WHat is the difference between the Docker Agent and the Docker Edge Agent?
@YuriyKondrashov
@YuriyKondrashov 3 года назад
4:13 Your edge key is visible when you paste it. But then you say that it shouldn't be shared with anyone. I hope you've changed it already.
@selfhosted
@selfhosted 3 года назад
Yeah... I realized it doesn't matter anyway because you can only bind it once. Also, I don't expose my Portainer over the internet. But for intensive purposes I tried to blur the best I could to show it's important not to share this info. This Portainer host was destroyed after I made the video as-well. Thank you for letting me know though!
@TvxLinux
@TvxLinux 2 года назад
You accidently exposed your edge key at 04:15. This video is a year old so ill assume you already know/fixed the issue or are using a different key.
@selfhosted
@selfhosted 2 года назад
I don’t use edge anymore. Just the agent.
@TvxLinux
@TvxLinux 2 года назад
@@selfhosted After seeing your video, i found out that you can just use the agent. Which worked for me perfectly as well. Isolating services into containers and then having them centralized in portainer is a gift!
@SingleSeeker
@SingleSeeker 3 года назад
How to build homelab wiki with portainer?
@camerontgore
@camerontgore 3 года назад
Wait you mean it's not March 2020 any more?!?!
@jmcbri
@jmcbri 4 месяца назад
The video resolution setting is too high.
@thinktech2go
@thinktech2go Год назад
you blurred the id & key in portainer but not proxmox. hopefully you have a different setup by now.
@selfhosted
@selfhosted Год назад
Indeed. That’s why I use proxmox. So I can easily setup example CT and VMs and destroy them when I’m done using them for videos.
@GadgeteerZA
@GadgeteerZA Месяц назад
@@selfhosted can also now on RU-vid add blurring after the video is published - been a saviour for my minor slips.
@michaelmuyakwa4269
@michaelmuyakwa4269 3 года назад
Noice!
@danny7902
@danny7902 Год назад
Portainer sees an agent as a node.. 5 nodes limit is the bottleneck
@selfhosted
@selfhosted Год назад
Bottleneck for what? I only access one agent at a time anyway. I’m curious what you mean by that.
@krdesigns
@krdesigns 2 года назад
This video help nothing. Edge never work for me dont know why
@sexualsmile
@sexualsmile 3 года назад
Glad your back dude!
Далее
КТО БОИТСЯ КЛОУНОВ?? #shorts
00:20
Просмотров 561 тыс.
Don't use local Docker Volumes
12:43
Просмотров 178 тыс.
Dockge: The New Docker Manager You Need To See!
22:23
It's Making Me REPLACE Docker...
14:33
Просмотров 55 тыс.
How to manage multiple Hosts in Portainer?
15:30
Просмотров 44 тыс.
Expose Your Docker Containers With Traefik
19:33
Просмотров 24 тыс.