privileged: true为必要参数 具体启动命令如下:
version: "3" services: ld-boot-opengauss: image: aht-boot-opengauss:5.0.3 container_name: ld-boot-opengauss hostname: ld-boot-opengauss restart: always privileged: true ports: - "15432:5432" environment: GS_PASSWORD: ${GS_PASSWORD:-Aht@opengauss321} volumes: - ld-boot-opengauss:/var/lib/opengauss volumes: ld-boot-opengauss: driver: local
Content type
Image
Digest
sha256:0a0383962…
Size
438.1 MB
Last updated
about 1 year ago
docker pull xxnzx/opengauss:5.0.3