070_Portainer可视化容器管理工具


参考文档

image.png

Portainer

什么是Portainer

:::info
Portainer是一个可视化的容器镜像的图形管理工具,利用Portainer可以轻松构建,管理和维护Docker环境。 而且完全免费,基于容器化的安装方式,方便高效部署。
portainer官网:https://www.portainer.io/
:::

安装

:::info
参考文档:http://www.yunweipai.com/34991.html
:::

[root@ecs-214025 admin]# docker run -d -p 8088:9000 --restart=always -v /var/run/docker.sock:/var/run/docker.sock --privileged=true portainer/portainer
Unable to find image 'portainer/portainer:latest' locally
latest: Pulling from portainer/portainer
772227786281: Pull complete 
96fd13befc87: Pull complete 
8b2d9b141e4d: Pull complete 
Digest: sha256:25415d1143949e5dc0b03585365dc8bbe84f443ef116dc27719dc69f23ead35e
Status: Downloaded newer image for portainer/portainer:latest
fbe91dc07e84a64ac4e0c4f52a95fa2fb13f49e50f1c1ef2dac50af02e119d91
[root@ecs-214025 admin]# docker ps
CONTAINER ID   IMAGE                 COMMAND        CREATED         STATUS         PORTS                                       NAMES
fbe91dc07e84   portainer/portainer   "/portainer"   5 seconds ago   Up 4 seconds   0.0.0.0:8088->9000/tcp, :::8088->9000/tcp   wonderful_williams
[root@ecs-214025 admin]# 

访问测试

[root@ecs-214025 admin]# curl localhost:8088
<!DOCTYPE html
><html lang="en" ng-app="portainer">
  <head>
    <meta charset="utf-8" />
    <title>Portainer</title>
    <meta name="description" content="" />
    <meta name="author" content="Portainer.io" />

image.png
image.png
image.png
image.png

Rancher

:::info
CI/CD使用,指持续集成、持续交付、持续部署
:::

posted @ 2022-07-03 14:58  清风(学习-踏实)  阅读(221)  评论(0)    收藏  举报