97WaterPolo Posted January 13, 2022 Share Posted January 13, 2022 Hi, I currently set up Gitea and Drone CI docker containers which build and deploy "MyDockerProject" (a container run on my unraid machine). I have all the synchronization between them done with the end result being my container published to docker hub. Right now I still have to manually go in and force-update "MyDockerProject" for it to pull down the latest version of my published container. Is it possible to have Unraid pull and deploy a new image from docker hub when executed within a docker container? IE) How can I have my Drone CI Docker Container communicate with UnraidOS that a new update for "MyDockerProject" has been published and for Unraid to go ahead and force the update? Best Regards, 97WaterPolo Quote Link to comment
97WaterPolo Posted January 18, 2022 Author Share Posted January 18, 2022 Anyone have any ideas on how I would do this? Is there any sort of API I can call from within a docker container to update another docker container on the host system? Quote Link to comment
97WaterPolo Posted March 24, 2022 Author Share Posted March 24, 2022 Random bump in hopes someone has an idea. Quote Link to comment
97WaterPolo Posted December 8, 2022 Author Share Posted December 8, 2022 Hi, since this is an old thread that never got answered I did manage to figure it out. I have a build server using Drone CI, and in one of the stages after it is done compiling, building, and publishing to my container repository, it executes a command line "curl" to a "Watchtower" container. This container if set up you can point towards a docker container on Unraid and have it pull the latest version and redeploy VIA a webhook. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.