Gavin Leo’s blog

Rocketmq in Docker Compose


Create data dirs for docker
sudo mkdir -p /data/docker-vol/rmq/broker-{a,b}/logs
sudo mkdir -p /data/docker-vol/rmq/namesrv-{a,b}/{logs,store}
sudo chown -R 3000:3000 /data/docker-vol/rmq/
Read more ⟶

Etcd in Docker Compose


Prepare data persistent directories on Host machine.

sudo mkdir -p /data/docker-vol/etcd/etcd{01,02,03}
sudo chown -R 1001:1001 /data/docker-vol/etcd
Read more ⟶

Mariadb replication using containers


Prepare data persistent directories on Host machine.

Execute following command on host bash shell

sudo mkdir -p /data/docker-vol/mariadb/{master,slave}
sudo chown -R 999:999 /data/docker-vol/mariadb
Read more ⟶