Master Docker Management with DPanel: Install, Use, and Real‑World Example
This article introduces DPanel, a lightweight Chinese‑language Docker visual management panel, walks through its installation via Docker commands, demonstrates core features such as overview, image and container management, and shows a real‑world SpringBoot‑Vue e‑commerce project deployment using Docker Compose.
DPanel Overview
DPanel is a lightweight Docker visual management panel with a full Chinese interface, low resource consumption (≈50 MB image, ≈20 MB memory) and over 1.6k stars on GitHub.
Installation
Use Docker to install DPanel.
Pull the lite image: docker pull dpanel/dpanel:lite Run the container:
docker run -p 8807:8080 --name dpanel \
-e APP_NAME=dpanel \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /mydata/dpanel:/dpanel \
-d dpanel/dpanel:liteAfter the container starts, access the management page at http://192.168.3.101:8807 and create an admin account.
Usage Example: Mall Project
Demonstrating DPanel with a SpringBoot3 + Vue e‑commerce project (mall).
The mall project is a SpringBoot3 + Vue e‑commerce system (≈60 k GitHub stars) that supports multiple modules, the latest 2024 microservice architecture, and is deployed with Docker and Kubernetes. It includes front‑end shop, back‑end admin, and covers products, orders, carts, permissions, coupons, members, payments, etc.
Boot project: https://github.com/macrozheng/mall
Cloud project: https://github.com/macrozheng/mall-swarm
Video tutorials: https://www.macrozheng.com/video/
Overview
In the Overview tab you can see basic Docker info, container statistics, and resource usage.
Click Details to view container status data such as CPU, memory, network, and disk.
Image Management
In Image Management → Repository you can add registry acceleration URLs, e.g., https://docker.1panel.live.
In Image Management → Image List you can manage local images and pull remote ones, e.g., minio/minio:latest.
Container Management
In Container List you can view running containers, ports, resource usage, status, and images.
Create a container for the mall admin service:
docker run -p 8089:8080 --name mall-admin \
--link mysql:db \
--link redis:redis \
-v /etc/localtime:/etc/localtime \
-v /mydata/app/admin/logs:/var/logs \
-d mall/mall-admin:1.0-SNAPSHOTConfigure basic settings, link with MySQL and Redis, set storage mounts, view logs, and access the API at http://192.168.3.101:8089/swagger-ui/.
Use the file manager to edit container files (e.g., Nginx config) and the console button to run commands inside the container.
Compose Example (Minio)
Deploy Minio using Docker Compose:
version: '3'
services:
minio:
image: minio/minio
container_name: minio
command: server /data --console-address ":9001"
volumes:
- /mydata/minio/data:/data
environment:
- "MINIO_ROOT_USER=minioadmin"
- "MINIO_ROOT_PASSWORD=minioadmin"
ports:
- 9090:9000
- 9001:9001Create and start the deployment task in DPanel, then access the Minio console at http://192.168.3.101:9001.
Storage & Network
Manage container storage and network resources via the respective DPanel functions.
Conclusion
DPanel provides a comprehensive, Chinese‑friendly visual interface for Docker management, covering most common Docker functionalities and greatly simplifying container operations.
Project Links
GitHub repository: https://github.com/donknap/dpanel
Related microservice project (mall‑swarm) with 11 k stars and 2024 video tutorials (≈26 hours, 59 episodes) covering the latest microservice stack.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
