Theses are some scripts for installing / upgrading portainer
How to use the scripts
rm -fr ~/scripts/pvm && \
git clone https://gist.github.com/Galitan-dev/72b32fc5ef07012ce570f562e1299de8.git ~/scripts/pvm/ && \
rm -fr ~/scripts/pvm/.git && \
chmod +x ~/scripts/pvm/* && \
echo 'export PATH="$HOME/scripts/pvm:$PATH"' >> ~/.${SHELL##*/}rc && \
source ~/.${SHELL##*/}rc
Theses commands:
- clean the old scripts
- download the scripts from github with git
- remove useless .git directory
- give the executable permission on the scripts
- make them executable anywhere
- and finally restart the shell
The first time you use portainer (requires Docker)
installPortainer # Magic
When a new version of portainer appears
upgradePortainer
You can't just be normal ?
usePortainerVersion alpine