Benni-chan Posted January 13, 2015 Share Posted January 13, 2015 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. Link to comment
Squid Posted January 14, 2015 Share Posted January 14, 2015 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 Link to comment
Benni-chan Posted January 14, 2015 Author Share Posted January 14, 2015 that seems to work, thanks Link to comment
Squid Posted January 14, 2015 Share Posted January 14, 2015 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. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.