Docker Containers Management With Portainer
Install Portainer
Portainer binaries are available on each release page: Portainer releases
Download and extract the binary to a location on disk:
$ cd /opt
$ wget https://github.com/portainer/portainer/releases/download/1.12.4/portainer-1.12.4-linux-amd64.tar.gz
$ tar xvpfz portainer-1.12.4-linux-amd64.tar.gz
Then just use the portainer binary as you would use CLI flags with Docker.
Note: Portainer will try to write its data into the /data folder by default. You must ensure this folder exists first.
$ mkdir /data
$ cd /opt
$ ./portainer/portainer
You can use the -p
flag to serve Portainer on another port:
$ ./portainer/portainer -p :8080
You can change the folder used by Portainer to store its data with the -d
flag:
$ ./portainer/portainer -d /opt/portainer-data
or both
$ ./portainer/portainer -p :8080 -d /opt/portainer-data
SOURCE: https://portainer.readthedocs.io/en/latest/deployment.html SOURCE: https://github.com/portainer/portainer SOURCE: http://portainer.io/install.html