Closed HuNanPengdake closed 2 years ago
Hi @HuNanPengdake where did you find docker run ... -M primary
in the documentation? In deed -M primary
should specify which openGauss database instance will run in Primary mode, on opposite to Standby mode. that is the database parameter, not docker parameter.
I'm sorry to say we have no plan to support docker-compose, since we are working on operator for Kubernetes. which is much suitable for enterprise docker usage.
docker run --help
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
COMMAND = -M primary
3ks
关于一下这段命令的-M参数的疑问
这个-M参数我仔细查阅了 docker run --help,并未在其中找到这个参数以及解释,请问一下作者 -M primary意思是怎么样,如果我使用docker-compose方式应该如何定义它?