podman安装zookeeper

VOLUME_HOME=/data/volumes;
mkdir -p $VOLUME_HOME/zookeeper/config;
mkdir -p $VOLUME_HOME/zookeeper/data;
mkdir -p $VOLUME_HOME/zookeeper/datalog;
podman run -d \
--name zookeeper \
-p 2181:2181 \
-p 2888:2888 \
-p 3888:3888 \
-p 38080:8080 \
-v $VOLUME_HOME/zookeeper/config:/config \
-v $VOLUME_HOME/zookeeper/data:/data \
-v $VOLUME_HOME/zookeeper/datalog:/datalog \
registry.cn-guangzhou.aliyuncs.com/maxwoods/zookeeper

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享