云原生之部署docker管理工具DockerUI
  OBCxRew8HiW1 2023年11月02日 38 0

(云原生之部署docker管理工具DockerUI)

一、DockerUI介绍

DockerUI 是一个与远程 API 交互的 Web 界面。目标是提供一个纯客户端实现,以便轻松连接和管理 docker。该项目尚未完成,仍在大力开发中。

二、检查本地docker环境

1.检查系统版本

[root@docker ~]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

2.检查docker状态


[root@docker ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2022-10-24 14:10:39 CST; 5h 16min ago
     Docs: https://docs.docker.com
 Main PID: 9426 (dockerd)
    Tasks: 28
   Memory: 1.2G
   CGroup: /system.slice/docker.service

三、拉取DockerUI镜像


[root@docker ~]# docker pull abh1nav/dockerui:latest
latest: Pulling from abh1nav/dockerui
Image docker.io/abh1nav/dockerui:latest uses outdated schema1 manifest format. Please upgrade to a schema2 image for better future compatibility. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
a3ed95caeb02: Pull complete 
5d3df020ecd3: Pull complete 
bebf5a3b4dfb: Pull complete 
e4452c0fe72b: Pull complete 
6167d9726b07: Pull complete 
53ebae19a314: Pull complete 
Digest: sha256:a9c6c5393f561a0f42f41cfa80572b666e745d9b419569c42bac1e5cf9ceda32
Status: Downloaded newer image for abh1nav/dockerui:latest
docker.io/abh1nav/dockerui:latest


四、创建DockerUI容器

1.运行DockerUI容器

docker run -d -p 9000:9000 -v /var/run/docker.sock:/docker.sock \
--name dockerui abh1nav/dockerui:latest -e="/docker.sock"

2.检查DockerUI容器状态

[root@docker ~]# docker ps
CONTAINER ID   IMAGE                     COMMAND                  CREATED             STATUS             PORTS                                       NAMES
6badb426f39a   abh1nav/dockerui:latest   "./dockerui -e=/dock…"   32 seconds ago      Up 32 seconds      0.0.0.0:9000->9000/tcp, :::9000->9000/tcp   dockerui

五、访问DockerUI

image.png

六、DockerUI的基本使用

1.查询宿主机容器情况

image.png

2.查询docker镜像列表

image.png

3.查看容器配置信息

image.png

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  wwLZeziuqjLR   2023年12月11日   14   0   0 Dockercentos
  MCWYWqSAMsot   2023年12月11日   16   0   0 Docker
  DnoStTHsc0vp   2023年12月11日   12   0   0 Docker
  wwLZeziuqjLR   2023年12月08日   65   0   0 Dockercentosbash
OBCxRew8HiW1