TLightSky / Clickhouse Client in Docker
Created 2020-02-29 Modifyed 2020-02-29

72 Words

通过配置文件进行连接的方式:

docker run -it  -v $HOME/.clickhouse-client/oldch.xml:/root/.clickhouse-client/config.xml yandex/clickhouse-client

当然也可以直接运行这个client的命令:

docker run -it yandex/clickhouse-client

如果不要compression,可以这么传:

docker run -it yandex/clickhouse-client --compression=0