为什么在检查容器时test.cnf是一个目录而不是基于模板节的文件,你能检查一下吗
config {
image = "percona/percona-xtradb-cluster:5.7"
volumes = ["/tmp/new.conf:/etc/mysql/test.conf"]
port_map {
db = 3306
gc = 4567
ss = 4444
ist = 4568
}
}
template {
data = <<EOH
binlog_format=ROW
default_storage_engine=InnoDB
!include /etc/mysql/node.cnf
EOH
destination = "/tmp/new.conf"
}