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.

Run Commands on Docker Creation

Featured Replies

There's a docker I need. I've been able to figure out how to install it from a repository (part1:part2) and add the needed ports and mappings.

 

My issue is I need to make a modification to it. Online docker forum posts say things like "add RUN <commands> to my dockerfile" but I'm not sure how that translates to Unraid's use of docker.

 

I've noticed I can open up the docker's console and run the command and it works just fine. It survives restarts but doesn't persist when I edit the docker settings.

 

Can I specify a respositry of "part1:part2 RUN <commands>"? Or can I utilize advanced settings and specify something in the Extra Parameters or Post Arguments fields where it will run the commands when creating the docker instance?

  • Community Expert
17 hours ago, jhugh said:

My issue is I need to make a modification to it. Online docker forum posts say things like "add RUN <commands> to my dockerfile" but I'm not sure how that translates to Unraid's use of docker.

It doesnt. What they are talking about is out of the scope of unRAID's web gui. They are not talking about things you do when running a docker container. "add RUN <commands> to my dockerfile"  is something you do when creating a docker image. You would have to write your own Dockerfile using their image as a base image, add the suggested RUN commands, and then use the docker build command to build an image from that docker file. Then in the unRAID web ui you would run a container and in repository field specify the name of the custom image you built.

  • Author

Thank you

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.