chazman88 Posted November 16, 2015 Share Posted November 16, 2015 There is a docker (invoice plane) on https://hub.docker.com that I would like to use on my unRAID machine but nobody has created a unRAID template for it. Can somebody give me some information on how I could go about using it? Do I need to create a template and then host on my own GitHub or can I just configure it without having a template at all. If there are any guides/tutorials that would be great. Thanks Quote Link to comment
smdion Posted November 16, 2015 Share Posted November 16, 2015 Hey chzman88 Here is the template for Codiad docker create --name=codiad -v /etc/localtime:/etc/localtime:ro -v <path to data>:/config -e PGID=<gid> -e PUID=<uid> -p 80:80 linuxserver/codiad --name = Name of docker -v = volume mappings (HOST:CONTAINER) -e = envrionmental variables -p = port it uses (HOST:CONTAINER) Here is some additional info. - http://docs.docker.com/engine/reference/commandline/create/ Otherwise if you post a link to the docker that you want to use, I can see if we can convert it over to unRAID. Quote Link to comment
lionelhutz Posted November 23, 2015 Share Posted November 23, 2015 Here is a post with an example using the GUI of the server. Basically, you click "Add Container" but instead of picking a template you add the info manually. http://lime-technology.com/forum/index.php?topic=37732.msg349938#msg349938 Quote Link to comment
Squid Posted November 23, 2015 Share Posted November 23, 2015 Alternatively you can also turn on DockerHub search results within Community Applications, and when you find an appropriate container, it will do its best to create a template for you based upon the dockerfile (no guarantees though) Quote Link to comment
MicAhSoft Posted April 3, 2020 Share Posted April 3, 2020 Can someone help me with this docker on "docker hub?" https://hub.docker.com/r/galexrt/sinusbot ; essentially the creator has built the install script in a "non-persistent state." I can install it easily into unRaid but every time I restart the docker in unRaid it blows out all the data in the container like a new install including passwords and settings. I understand the -v parameter passed being as persistent/non-persistent but how can i adjust the docker startup script to remove the "new install." Or can someone fix this Sinusbot docker and get it into the CA repository vice the dockerhub. I know this is an old thread... hope someone is listening. Thanks, Micah Quote Link to comment
uek2wooF Posted April 3, 2020 Share Posted April 3, 2020 You can set it up so you can install it from the private apps section of community applications like this: Save this xml in a file sinusbot.xml <?xml version="1.0" encoding="utf-8"?> <Container> <Beta>False</Beta> <Category>HomeAutomation:</Category> <Date>2020-04-03</Date> <Changes> [b]3.APR.2020:[/b]Added[br] </Changes> <Support>http://forums.unraid.net</Support> <Name>sinusbot</Name> <Description> sinusbot </Description> <Registry>https://hub.docker.com/r/galexrt/sinusbot</Registry> <GitHub>https://github.com/galexrt/docker-sinusbot</GitHub> <Repository>quay.io/galexrt/sinusbot:latest</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Networking> <Mode>bridge</Mode> <Publish> <Port> <HostPort>8087</HostPort> <ContainerPort>8087</ContainerPort> <Protocol>tcp</Protocol> </Port> </Publish> </Networking> <Data> <Volume> <HostDir>/mnt/cache/appdata/sinusbot/data</HostDir> <ContainerDir>/sinusbot/data</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/appdata/sinusbot/scripts</HostDir> <ContainerDir>/sinusbot/scripts</ContainerDir> <Mode>rw</Mode> </Volume> <Volume> <HostDir>/mnt/cache/appdata/sinusbot/config</HostDir> <ContainerDir>/sinusbot/config</ContainerDir> <Mode>rw</Mode> </Volume> </Data> <WebUI>http://[IP]:[PORT:8087]</WebUI> <Banner>http://i.imgur.com/zXpacAF.png</Banner> <Icon>http://i.imgur.com/zXpacAF.png</Icon> </Container> (If you want the correct icon you need to fix those imgur lines.) Then create a dir for private community apps and copy it there: mdkir -p /boot/config/plugins/community.applications/private/myrepo cp sinusbot.xml /boot/config/plugins/community.applications/private/myrepo Now load the Community Apps tab, go to private apps on the left, and install from there. 2 Quote Link to comment
MicAhSoft Posted April 7, 2020 Share Posted April 7, 2020 Building the private docker app works great.. thanks. I even built an icon link https:// i.imgur.com/OutvdZx.png ; however I'm still facing the non-persistent environment problem. Every time the docker is restarted an new copy of the application is installed. All settings within the application are erased and set to default. All the passwords for the application are reset and set to default. I believe this is a problem with the creators repository "quay.io/galexrt/sinusbot:latest" for the initial install script but I'm a noob. Any help in solving this problem would be great. Is there a way to adjust this script or prevent it from pulling upon docker restart? I'm not sure how to solve this issue. Thanks 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.