Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ### Running clickhouse in docker
  2.  
  3. Run below commands to pull clickhouse docker and run the server
  4. ```
  5. docker pull yandex/clickhouse-server
  6. docker run -d --name some-clickhouse-server --ulimit nofile=262144:262144 yandex/clickhouse-server
  7. ```
  8.  
  9. ### Connect from native client
  10. `docker run -it --rm --link some-clickhouse-server:clickhouse-server yandex/clickhouse-client --host clickhouse-server`
  11.  
  12.  
  13. ### Custom config
  14. ` docker run -d --name some-clickhouse-server --ulimit nofile=262144:262144 -v /path/to/your/config.xml:/etc/clickhouse-server/config.xml yandex/clickhouse-server`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement