基于Docker搭建Mysql的PXC集群
基于Docker搭建Mysql的PXC集群 镜像信息 镜像名称:percona/percona-xtradb-cluster 点击跳转镜像地址 下载镜像 docker pull percona/percona-xtradb-cluster 修改本地的镜像名称为mysql-pxc docker tag percona/percona-xtradb-cluster mysql-pxc 给PXC集群实例创建Docker内部网络 docker network create --subnet 172.18.1.1/24 mysql-net 通过inspect命令查看网络详情 docker network inspect mysql-net [ { "Name": "mysql-net", "Id": "271ed67c250c65e72dcae9d5559209d1921f4ad9d0b5aec097272fcaeaa9f86f", "Created": "2019-12-29T15:18:01.807655262+08:00", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": {}, "Config": [ { "Subnet":