引用:https://blog.csdn.net/zhengaga/article/details/145188358
compose:
name: dkturbo
services:
dkturbo:
image: registry.cn-shenzhen.aliyuncs.com/cp0204/dkturbo:main
container_name: dkturbo
volumes:
- ./dkturbo:/etc/docker
- ./dkturbo:/opt
environment:
- MODE=registry
- REGISTRY=auto
network_mode: bridge
restart: unless-stopped
pid: host
privileged: true