Docker
Install Docker
curl -fsSL https://get.docker.com | bash
# ĺŽčŁ
docker-compose
# curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# chmod a+x /usr/local/bin/docker-compose
# ĺŻĺ¨ docker
systemctl start docker
# ĺŻĺ¨ docker
# service docker start
# ĺźćşčŞĺŻ
systemctl enable docker.service
# ćĽç docker çść
systemctl status docker.service
tip
Linux base systems can run serverbee-web directly using docker, for example: Synology, QTS, Unraid, PVE, Openwrt and other systems.
other systems please install using the binary file method.
caution
Docker is only recommended for Linux base systems, otherwise the data you get will be the data of the docker image itself, not your host data.
If you are installing using the system's built-in docker interface, please remember to mount the directory.
Docker Run Commandâ
docker run -d \
-v /proc:/proc \
-v /dev:/dev \
-v /sys:/sys \
-v /etc:/etc \
-v /run/media:/run/media \
-v /sys/class/net:/sys/class/net \
--privileged=true \
--restart unless-stopped \
--network=host \
--name=serverbee-web \
zingerbee/serverbee-web -p 9527
Replace 9527
with any port you want.
Docker Composeâ
version: '3'
services:
serverbee-web:
image: zingerbee/serverbee-web
command: ["-p", "9527"]
privileged: true
restart: unless-stopped
network_mode: host
volumes:
- /proc:/proc
- /dev:/dev
- /sys:/sys
- /etc:/etc
- /run/media:/run/media
- /sys/class/net:/sys/class/net
View Container Logsâ
docker logs serverbee-web