拉取镜像
docker pull yandex/clickhouse-server:20.3.12.112
启动
docker run -d --name=clickhouse-server -p 8123:8123 -p 9000:9000 -p 9009:9009 --ulimit nofile=262144:262144 -v /home/data/clickhouse/data:/var/lib/clickhouse:rw -v /home/data/clickhouse/conf/config.xml:/etc/clickhouse-server/config.xml -v /home/data/clickhouse/conf/users.xml:/etc/clickhouse-server/users.xml -v /home/data/clickhouse/log:/var/log/clickhouse-server:rw yandex/clickhouse-server:20.3.12.112