April 19, 20224 yr 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?
April 20, 20224 yr 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.
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.