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.

Docker deployment from CI/CD pipeline

Featured Replies

I had quite a hard time figuring out how to persistently create user only for docker without giving root access to Gitlab in CI/CD pipeline. If you do normal unix suff with adduser, passwd and so on you will loose all of that after reboot. In the end it was quite easy. So I'm going to share with you all to save you three days I spent with this stupidly trivial task. You just need to do this:

  1. Create new user with password via Web Managment of UnRAID in USERS tab. Let's call this new user deployer.
  2. Change deployers default group with: usermod -g docker deployer
  3. Edit /etc/passwd manually (not recomended, but this is small change)
    1. Find line with deployer
    2. Change from /bin/false to /bin/bash to allow ssh access for deployer
    3. Save
  4. copy /etc/passwd to /boot/passwd with: cp /etc/passwd /boot/passwd

 

DONE! That's IT! It just works. Now you have persistent user that you can add to Gitlab (or Github or whatever else) and automatically deploy your things from CI/CD pipeline straight to Docker on your UnRAID machine.

Edited by werscajk

I do this with a headless VM on Unraid with Docker installed and exposed the Docker service via a TCP port to my internal network so i could use it in Jenkins/Gitea and it's completely isolated.

 

Thanks for sharing. :)

Archived

This topic is now archived and is closed to further replies.

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.