Run with binary
TIP
Running DPanel via the binary package is equivalent to the Lite Edition, which does not include features like domain forwarding.
We recommend using a container to create DPanel for greater compatibility.
Download
You can download the packaged binary packages from the Release page.
For Ubuntu、Centos、Debian etc
- dpanel-amd64
- dpanel-arm
- dpanel-arm64
For Alpine and using the MUSL library
- dpanel-musl-amd64
- dpanel-musl-arm64
- dpanel-musl-arm
For MacOSX
- dpanel-darwin-ARM64
- dpanel-darwin-X64
For Synology
- dpanel-synology-arm64
- dpanel-synology-amd64
For Windows
- dpanel.exe
Compile
Environmental requirements
- Go Version >= 1.23
- Please make sure that the Libc or Musl library has been installed and CC CXX has been configured in the environment variables.
- Windows system needs to install MinGW
TIP
Please make sure you have the Golang runtime. Check the environment version through go version
go version
Output
go version go1.23.4 linux/amd64 or go version go1.23.4 windows/amd64
Download source
git clone --depth 1 https://github.com/donknap/dpanel.git && cd dpanel
Compile using the make command
1.5.0 is replaced with the actual version number, which will be displayed in the system information on the home page
make build PROJECT_NAME=dpanel CGO_ENABLED=1 VERSION=1.5.0
Compile using go build
CGO_ENABLED=1 go build -ldflags '-X main.DPanelVersion=1.5.0 -s -w' -o runtime/dpanel
set CGO_ENABLED=1
go build -ldflags '-X main.DPanelVersion=1.5.0 -s -w' -o runtime/dpanel.exe
Run
Run configuration to modify config.yaml When running the program, specify the environment variable value defined in config.yaml
When running DPanel via binary, it will automatically connect to the current default Docker engine. In Linux, it is /var/run/docker.sock, and in Windows, it is //./pipe/docker_engine.
chmod 755 ./runtime/dpanel
./runtime/dpanel server:start -f config.yaml
.\dpanel.exe server:start -f .\config.yaml
Docker is not installed on the system
If Docker is not installed on system, after starting the DPanel, you can configure the default remote Docker server through Multiple Environment Management.
Install docker-cli command
DPanel depends on docker and docker compose (docker-compose) commands. If you don't have docker engine installed, you need to install these client command components manually, according to the system you use add Docker software source.
Install the docker-cli client command component.
sudo apt install docker-ce-cli docker-compose-plugin