Docker安装zookeeper 单节点安装时间:2024-03-18 18:22:27基于Docker安装zookeeper 一、单节点安装 拉取最新版本docker pull zookeeper 启动zookeeper并添加映射 语法:docker run --privileged=true -d --name zookeeper --publish 2181:2181 zookeeper:latest 查看zookeeper进程日志 语法:docker logs -f zookeeper 示例: