January 13, 201511 yr not sure, if this should be posted here or in the docker subforum, but since it is a feature request.. It would be great, if we could control the restart behavior of docker containers from the web interface. (a simple drop down menu with the items "never" (default), "on-failure" (this would need an additional text box to select max-retries, or several items in the drop down with some fixed values), "always") the commandline help states this for the cmd parameter: --restart="" Restart policy to apply when a container exits (no, on-failure[:max-retry], always) background: I've created a sonarr docker container, but the integrated update process would require the docker container to restart itself after the app closes.
January 14, 201511 yr Could you add that option to the repository section of the template the same way as the cpuset parameter detailed in this post http://lime-technology.com/forum/index.php?topic=36257.0
January 14, 201511 yr You should be able to add any custom parameters to the command line that aren't supported natively with that method. Perhaps LimeTech could add another line to the template labelled something like Custom Command Line Options to make this less confusing in the future.
Archived
This topic is now archived and is closed to further replies.