当前位置:网站首页>银河麒麟v10-arm版离线安装Portainer
银河麒麟v10-arm版离线安装Portainer
2022-07-17 09:27:00 【Fiona_q】
Portainer是一个可视化的容器镜像的图形管理工具,利用Portainer可以轻松构建,管理和维护Docker环境。 而且完全免费,基于容器化的安装方式,方便高效部署。
目录
1. 安装portainer镜像包
portainer比较新的版本镜像包是portainer/portainer-ce,之前的版本是portainer/portainer,新旧版本之间还是有些区别的,旧版本在离线情况下还带有应用模板,新版本在离线状态下已经没有自带的应用模板了,并不是很方便,但我还是安装了比较新的版本的portainer。
#现在联网的机子上拉取镜像包
docker pull portainer/portainer-ce:linux-arm64-2.11.1-alpine
#离线加载镜像包,在镜像包所在的文件夹目录下执行
docker load < portainer/portainer-ce:linux-arm64-2.11.1-alpine2. 运行portainer
docker run -d --name portainerUI -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce其中,--name是可以调换的,-p是做端口映射的,前面的9000可以调整为你自己的端口,也是之后你使用ip+port访问的prot,后面的9000是portainer的端口不能修改,-v是挂载操作,最后的镜像名称,可以省略版本号,也可以带着版本号。
3. 访问portainer
通过ip:port的方式访问portainer,首先创建默认用户admin的密码,输入并确认密码后成功访问。
4. 配置多个节点
4.1 编辑docker.service
vim /usr/lib/systemd/system/docker.service
#找到 ExecStart字段修改如下
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock4.2 重新启动docker服务
systemctl daemon-reload
systemctl restart docker4.3 配置远程docker
在左侧Environmets进行Add environment操作,环境类型选择docker,name自己命名,environment URL按照提示填写:

最后,设置好集群节点后,在home页面可以看到如下显示,即配置完整。

边栏推荐
- Nacos new configuration management
- [handwritten numeral recognition] handwritten numeral recognition based on lenet network with matlab code
- Cbcgpedit control used by BCG
- Magic Usage of mongodb $symbol +mongo data type
- 一文,教你实现单点登录
- L1-088 静静的推荐(测试点1)
- Hausdorff loss function for semantic segmentation
- 微信小程序调用API简单案例
- 自定义MVC原理及简单实现
- 日志脱敏-参考
猜你喜欢

Cbcgpedit control used by BCG
![[face recognition] face recognition based on histogram histogram with matlab code](/img/a6/ae776d084a207647501ca951e32000.png)
[face recognition] face recognition based on histogram histogram with matlab code
![[Hongke] lidar safety system: making the world safer](/img/35/23986a66c63d51862c7562834d6a89.png)
[Hongke] lidar safety system: making the world safer

【AXI】解读AXI协议的额外信号(QOS信号,REGION信号,与USER信号)
![[untitled]](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[untitled]

Set the ID field to increase automatically when creating tables in SQL Server (Navicat demo)

C# - this 的用法

Microservice splitting for stand-alone projects

Case sharing | build a one-stop data development platform for hehe information based on linkis+dss

如何在 Authing 上快速实现 Zadig 单点登录?
随机推荐
置顶随笔分类
How to write a string field in MySQL if its value is not empty?
MySQL读写分离
Example description of alternative writing of instanceof
Project contract analysis from the perspective of Software Engineer
Unity 使用一张贴图来控制材质主贴图的透明度
Understanding of user / Account / Account
Authing 实践|制造业身份认证统一管理解决方案
Code Capriccio: question skimming record (under update)
Solve interface cross domain problems and node operation MySQL
Simple third-party component log desensitization
Tree array
Collation of RPA related knowledge points
SQL优化
简易的第三方组件日志脱敏
案例分享 | 基于Linkis+DSS构建合合信息一站式数据开发平台
QT串口通信
Exchange array elements without creating temporary variables
sql server建表时设置ID字段自增 (navicat 演示)
【论文笔记】融合多传感器数据的抓取机械臂末端定位研究