Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.9.2] Deploy docker container update from within another docker container

Featured Replies

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

  • Author

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?

  • 2 months later...
  • Author

Random bump in hopes someone has an idea.

  • 8 months later...
  • Author

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.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.