0
when i execute this command rm -rf /var/lib/postgresql/data/* in container, the container will stop so quickly that i can't execute pg_basebackup to implement master-slave replication. I just use docker run --name pgslaver -d -e POSTGRES_PASSWORD=pgslaver123 -p 25432:5432 postgres:12.4 or docker ...