Need help creating a docker


lovingHDTV

Recommended Posts

I just started using a Hubitat Elevation for my home automation.  They dropped SMS support for Twilio, but someone created a nice add-on to restore this functionality.  It needs a linux (most people use an rPi) with node-js, npm and sendmail installed.

 

https://github.com/adsavia/Hubitat-DoNS

 

I'd like to make a docker so that I can run this service on my UnRaid box, but really have no idea how to go about it.  I thought there was a post here somewhere that taught you how to do this.  Any pointers/help much appreciated.

 

thanks

david

Link to comment
  • lovingHDTV changed the title to Need help creating a docker

gotify looks really interesting.  I was able to run its docker command and it ran, though I have no idea what happens under the hood of UnRaid.  It appears in the docker page under some name.

 

I think this is a very interesting piece of the solution.

 

Still interested in documentation on how to make an UnRaid compatible dockerfile/xml.

 

EDIT: https://wiki.unraid.net/index.php/DockerTemplateSchema

 

david

Edited by lovingHDTV
Link to comment

For a specific question.

 

I have the  <WebUI>http://[IP]:[PORT:80]/</WebUI>  set in my template.xml, but when I click on the Docker Icon I  only see _console, no WebUI option.  The webserver is running and I can connect to it.  Is there something else I need to add to get the WebUI option for the context sensitive menu?

 

thanks

david

Link to comment
1 hour ago, lovingHDTV said:

I was able to run its docker command and it ran, though I have no idea what happens under the hood of UnRaid.  It appears in the docker page under some name.

If you don't create it using the Add Container page, then it won't have a template and you can't manage it from the Unraid webUI. And if you don't specify a name when you create it, the docker engine gives it one from some random naming scheme it has.

 

Even dockers on the docker hub can be created using the Add Container page so you shouldn't have to do it at the command line. The Add Container page is just a form and its entries are used to create the docker run command. Also, if you use the Add Container page to create the docker, it also creates and saves a template with the form already filled that it will reuse when you Edit the container, or you can reuse it to add that same container in the future.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.