Just a docker composition with a command wrapper to help using Portainer
git clone https://github.com/jdominguez198/portainer-compose.git
sudo ln -s $(pwd)/portainer-compose/bin/console /usr/local/bin/portainer
which portainer
portainer --help
portainer start
portainer stop
portainer down
portainer upgrade