https://blog.csdn.net/len9596/article/details/80894583

安装portainer 官方文档:
https://portainer.readthedocs.io/en/latest/deployment.html
https://portainer.readthedocs.io/en/stable/
https://github.com/portainer/portainer docker安装   $ docker volume create portainer_data
$ docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer12   源码安装 1)下载源码   $ cd /opt
$ wget https://github.com/portainer/portainer/releases/download/1.18.1/portainer-1.18.1-linux-amd64.tar.gz
$ tar xvpfz portainer-1.18.1-linux-amd64.tar.gz123 2)创建数据文件目录   $ mkdir /data
$ cd /opt/portainer
$ ./portainer123 3)指定端口启动   ./portainer -p :80801 或者指定自定义数据文件夹    ./portainer --data /opt/portainer-data   报错:Unable to locate template file on disk 解决:./portainer --data /data --template-file templates.json
---------------------
作者:苦行僧Alan
来源:CSDN
原文:https://blog.csdn.net/len9596/article/details/80894583
版权声明:本文为博主原创文章,转载请附上博文链接!
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。