Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.29 KB

File metadata and controls

25 lines (14 loc) · 1.29 KB

portainer-docker-install-always-restart

About installPortainerRestartAlways.sh

A very simple script extract from portnair.io https://portainer.io/install.html in order to install portnair for docker with portnair automatic restart. Every time i install portainer i always forget to add the persistent option in order that docker bring it up to live at the next reboot ... Dear head scatterbrained this is my 2 cents for you in order to avoid us to do this by hand. Have a nice day !

Edit 20 spetember 2020 :

About installPortainerRestartAlwaysLimit.sh

Same goal as installPortainerRestartAlways.sh but this version is able to limit the memory an cpu foot print for tinny or / and old computer by default to 20% of 1 CPU, 10M of ram and 90M swap. Please check comments in the script before to use or change values.

Edit 10 March 2022 :