Restart Unhealthy Docker Containers Using Deunhealth

  Рет қаралды 6,622

DB Tech

DB Tech

Күн бұрын

Пікірлер: 21
@quentinmcgaw3945
@quentinmcgaw3945 3 жыл бұрын
Hello all, I'm deunhealth's author ☺️ Nice video, I'll link it up in the readme 🤓 Feel free to reply to this comment for questions and requests.
@SergeiWhobichakokov
@SergeiWhobichakokov 2 ай бұрын
Thanks for the video. You're a bit of a fast talker but it was very informative and easy to set up and deploy.
@DBTechYT
@DBTechYT 2 ай бұрын
Yeah. I talk fast. Always have. Added this to my website years ago: dbtechreviews.com/i-talk-fast
@Franceyou
@Franceyou 3 жыл бұрын
Is there any solution to add the label directly in stacks? Thanks!
@DBTechYT
@DBTechYT 3 жыл бұрын
You either have to add it to an existing container the way I showed or redeploy the stack with something like this in it: labels: - "deunhealth.restart.on.unhealthy=true"
@Franceyou
@Franceyou 3 жыл бұрын
@@DBTechYT you are a legend!! Thanks
@jeffmendocino1912
@jeffmendocino1912 3 жыл бұрын
Well, I did have a comment showcasing just that. Guess it got removed...
@DBTechYT
@DBTechYT 3 жыл бұрын
@Jeff Mendocino No idea. I've had a big issue lately of comments going missing. Like... I'll get an email saying someone commented and then I'll go to my dashboard and it's not there. Not even if I search for the user or the comment. No idea what's going on lately.
@GabrielMazzei01
@GabrielMazzei01 Ай бұрын
How do you add your label if you aren't using portainer?
@DBTechYT
@DBTechYT Ай бұрын
Then you'd have to manually add labels to each of the containers you want to manage via whatever method you used to originally install them
@peterfortyseven8549
@peterfortyseven8549 3 жыл бұрын
what have you done that portainer accept the version 3.6 docker compose ? I needed to change it to version 3.3, thanks
@DBTechYT
@DBTechYT 3 жыл бұрын
I'm just on the most current version of Portainer. That's it.
@alpha23technology-31
@alpha23technology-31 3 жыл бұрын
Thank you very much👍 for the video. I hope it continues. I want a special explanation for installing Openstack and megacloud on docker🙂
@moisthoagie1992
@moisthoagie1992 3 жыл бұрын
This is a great video. I actually have an issue with my qbittorrent stack that I setup off of another one of your videos. It runs gluetun and qbittorrent. The issue is the gluetun container randomly becomes unhealthy every couple of weeks or so. Nothing in the logs other than it's unhealthy. I was using another autoheal image to restart that container automatically. The problem is then qbittorrent doesn't work since it needs to come up after the gluetun container. Hopefully I explained the issue well enough, but I have been trying to figure out a way to restart a container when another one restarts. So if gluetun restarts, then restart the qbittorrent container. Not sure if you know of anything or maybe even a better way to address this.
@DBTechYT
@DBTechYT 3 жыл бұрын
Totally makes sense. The developer is working on a solution for it with the cascading restarts.
@moisthoagie1992
@moisthoagie1992 3 жыл бұрын
Oh that is good to know. I'll keep an eye on it.
@marianosilva2030
@marianosilva2030 3 жыл бұрын
Why would one need to use DeUnhealth, if Docker would restart the unhealthy containers automatically as per the configuration in the compose file?
@DBTechYT
@DBTechYT 3 жыл бұрын
Because sometimes "restart-always" doesn't work on unhealthy containers. This helps ensure that unhealthy containers get restarted appropriately.
@marianosilva2030
@marianosilva2030 3 жыл бұрын
@@DBTechYT WOW! I got a direct response from Mr. DB Tech himself! Thanks Sir! And I haven't noticed that happening to my environments, but I'll remember if I ever run into an issue like that.
@christopherjonesramos3655
@christopherjonesramos3655 Ай бұрын
Is this still working and/or still safe to install in 2024 (almost 2025), coz the last update on dockerhub was on 2021?
@DBTechYT
@DBTechYT Ай бұрын
Looks like this hasn't been touched in a long time. It might still work, but I'm not sure I would trust it at this point
Homechart - Your All in One Alternative In Docker
13:51
DB Tech
Рет қаралды 11 М.
Don't use local Docker Volumes
12:43
Christian Lempa
Рет қаралды 187 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Dockge: The New Docker Manager You Need To See!
22:23
DB Tech
Рет қаралды 95 М.
Docker Compose Control Container Order with depends_on
4:17
How to Update Docker Containers using Watchtower with Portainer
7:09
Best Docker Container Monitoring Tools - Free and open source
17:45
VirtualizationHowto
Рет қаралды 73 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 467 М.
LanCache - Speed Up Game Downloads with Docker
18:38
DB Tech
Рет қаралды 26 М.