portainer-compose

Just a docker composition with a command wrapper to help using Portainer

Install console

Clone this repo:

git clone https://github.com/jdominguez198/portainer-compose.git

Add bin/console into your $PATH

sudo ln -s $(pwd)/portainer-compose/bin/console /usr/local/bin/portainer

Check everything works running this commands in your terminal

which portainer
portainer --help

Commands help

Start your Portainer container

portainer start

Stop container

portainer stop

Stop and remove containers

portainer down

Upgrade Portainer container (image will be removed and build again)

portainer upgrade