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:
<code>docker pull dpanel/dpanel:lite</code>Run the container:
<code>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:lite</code>After 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
Overviewtab you can see basic Docker info, container statistics, and resource usage.
Click
Detailsto view container status data such as CPU, memory, network, and disk.
Image Management
In
Image Management → Repositoryyou can add registry acceleration URLs, e.g., https://docker.1panel.live.
In
Image Management → Image Listyou can manage local images and pull remote ones, e.g.,
minio/minio:latest.
Container Management
In
Container Listyou can view running containers, ports, resource usage, status, and images.
Create a container for the mall admin service:
<code>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-SNAPSHOT</code>Configure 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:
<code>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:9001
</code>Create 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.
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.