File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
Portainer 是一个开源、轻量级Docker管理用户界面,基于Docker API,提供状态显示面板、应用模板快速部署、容器镜像网络数据卷的基本操作(包括上传下载镜像,创建容器等操作)、事件日志显示、容器控制台操作、Swarm集群和服务等集中管理和操作、登录用户管理和控制等功能。功能十分全面,基本能满足中小型单位对容器管理的全部需求。
2
2
3
+ ## v2 安装
4
+
5
+ ``` bash
6
+ docker volume create portainer_data
7
+ ```
8
+
9
+ Docker Standalone
10
+
11
+ ``` bash
12
+ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
13
+ ```
14
+
15
+ Docker Swarm
16
+
17
+ ``` bash
18
+ curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
19
+ # 下载 https://downloads.portainer.io/portainer-agent-stack.yml
20
+ docker stack deploy -c portainer-agent-stack.yml portainer
21
+ ```
22
+
23
+ ## v1.22x
24
+
3
25
新建 ` portainer-agent-stack.yml ` 文件, 将下面内容复制到配置文件中,你可以从官方仓库拷贝 [ ` portainer/portainer-compose ` ] ( https://github.com/portainer/portainer-compose ) 配置。
4
26
5
27
``` yml
You can’t perform that action at this time.
0 commit comments