{"id":51098092,"url":"https://github.com/erkobridee/docker-clickhouse","last_synced_at":"2026-06-24T08:02:50.017Z","repository":{"id":363892686,"uuid":"1265146267","full_name":"erkobridee/docker-clickhouse","owner":"erkobridee","description":"Explore how to use the ClickHouse on a Docker Container","archived":false,"fork":false,"pushed_at":"2026-06-10T19:19:40.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T21:10:07.109Z","etag":null,"topics":["clickhouse","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erkobridee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-10T14:01:58.000Z","updated_at":"2026-06-10T19:22:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/erkobridee/docker-clickhouse","commit_stats":null,"previous_names":["erkobridee/docker-clickhouse"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/erkobridee/docker-clickhouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fdocker-clickhouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fdocker-clickhouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fdocker-clickhouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fdocker-clickhouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erkobridee","download_url":"https://codeload.github.com/erkobridee/docker-clickhouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fdocker-clickhouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34722710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clickhouse","docker","docker-compose"],"created_at":"2026-06-24T08:02:49.200Z","updated_at":"2026-06-24T08:02:50.004Z","avatar_url":"https://github.com/erkobridee.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-clickhouse\n\n🚨🚧 THIS IS A TESTING REPOSITORY TO BE USED LOCALLY ONLY 🚧🚨\n\nExplore how to use the [ClickHouse](https://clickhouse.com/) on a Docker Container\n\n- [[GitHub] ClickHouse/ClickHouse](https://github.com/ClickHouse/ClickHouse)\n\n- [ClickHouse Docs](https://clickhouse.com/docs)\n  - [Data modelling overview | ClickHouse Docs](https://clickhouse.com/docs/data-modeling/overview)\n\n  - [Tutorials and example datasets | CLickHouse Docs](https://clickhouse.com:2053/docs/getting-started/example-datasets)\n\n  - [ClickHouse SQL Reference | ClickHouse Docs](https://clickhouse.com/docs/sql-reference)\n\n- [SQL Playground by ClickHouse](https://sql.clickhouse.com/)\n  - [[GitHub] ClickHouse/sql.clickhouse.com](https://github.com/ClickHouse/sql.clickhouse.com)\n\n## Commands\n\n### Docker Container\n\n- [clickhouse - Official Image | Docker Hub](https://hub.docker.com/_/clickhouse/)\n  - [Install ClickHouse using Docker | ClickHouse Docs](https://clickhouse.com/docs/install/docker)\n    - [Configuration](https://clickhouse.com/docs/install/docker#configuration)\n\n1\\. Pull the ClickHouse Docker Image\n\n```sh\ndocker pull clickhouse/clickhouse-server:26.2-alpine\n```\n\n2\\. Run a ClickHouse Container\n\n```sh\ndocker run -d \\\n  --name test-clickhouse-container \\\n  -e CLICKHOUSE_USER=admin \\\n  -e CLICKHOUSE_PASSWORD=secret \\\n  -e CLICKHOUSE_DB=test \\\n  --ulimit nofile=262144:262144 \\\n  -p 8123:8123 \\\n  -p 8443:8443 \\\n  -p 9000:9000 \\\n  clickhouse/clickhouse-server:26.2-alpine\n```\n\nwith Volume\n\n```sh\ndocker run -d \\\n  --name test-clickhouse-container \\\n  -e CLICKHOUSE_USER=admin \\\n  -e CLICKHOUSE_PASSWORD=secret \\\n  -e CLICKHOUSE_DB=test \\\n  --ulimit nofile=262144:262144 \\\n  -p 8123:8123 \\\n  -p 8443:8443 \\\n  -p 9000:9000 \\\n  -v clickhouse_data:/var/lib/clickhouse/ \\\n  -v clickhouse_logs:/var/log/clickhouse-server/ \\\n  clickhouse/clickhouse-server:26.2-alpine\n```\n\ncheck the Docker volumes ( [doc ref](https://docs.docker.com/reference/cli/docker/volume/ls/) )\n\n```sh\ndocker volume ls\n```\n\ncheck the disk used by Docker ( [doc ref](https://docs.docker.com/reference/cli/docker/system/df/) )\n\n```sh\ndocker system df\n```\n\n3\\. Connect to ClickHouse\n\n```sh\ndocker exec -it test-clickhouse-container clickhouse-client\n```\n\n[Web user interface](https://clickhouse.com/docs/interfaces/http#web-ui): `http://localhost:8123/play`\n\nTest query\n\n```sql\nSELECT 'Hello, ClickHouse!'\n\nSELECT version()\n```\n\n- [ClickHouse OSS quick start | ClickHouse Docs](https://clickhouse.com/docs/getting-started/quick-start/oss)\n\n4\\. Stop Container\n\n```sh\ndocker stop test-clickhouse-container\n```\n\n5\\. Remove Container\n\n```sh\ndocker rm -f test-clickhouse-container\n```\n\n### Docker Compose\n\n1\\. run on background\n\n```sh\ndocker compose up -d\n```\n\n2\\. stop\n\n```sh\ndocker compose down\n```\n\n## Useful references\n\n- [JS client | ClickHouse Docs](https://clickhouse.com/docs/integrations/javascript)\n  - [[GitHub] ClickHouse/clickhouse-js](https://github.com/ClickHouse/clickhouse-js)\n\n- [ClickHouse Cheat Sheet | CheatDocs](https://cheatdocs.org/clickhouse/)\n\n- [Top 10 best practices tips for ClickHouse | ClickHouse Blog](https://clickhouse.com/blog/10-best-practice-tips)\n\n- [ClickHouse: 5 Practical Examples for Data Analytics | devbyte.space](https://www.devbyte.space/clickhouse-top-5-practical-examples-for-beginers/)\n\n### Docker\n\n- [Docker](https://www.docker.com/)\n  - [Use Docker Compose | Docker Docs](https://docs.docker.com/get-started/workshop/08_using_compose/)\n\n  - [Docker Compose | GeeksforGeeks](https://www.geeksforgeeks.org/devops/docker-compose/)\n\n  - [Docker Compose Cheatsheet — Most useful commands with examples | by Rost Glukhov - Medium](https://medium.com/@rosgluk/docker-compose-cheatsheet-most-useful-commands-with-examples-4fbc3d2b5deb)\n\n- [ClickHouse in Docker: launch analytics in 2 minutes | Sudonull](https://sudonull.com/clickhouse-in-docker-launch-analytics-in-2-minutes)\n\n- [Set Up ClickHouse with Docker Compose | Last9](https://last9.io/blog/set-up-clickhouse-with-docker-compose/)\n\n- [[GitHub] theebruv/openclickhouse](https://github.com/theebruv/openclickhouse) - A complete local ClickHouse setup with Docker Compose, including production-ready configurations, monitoring (Prometheus \u0026 Grafana), and sample data.\n\n### Materialized views\n\n- [Materialized views | ClickHouse Docs](https://clickhouse.com/docs/materialized-views)\n\n- [What Is a Materialized View and How It Works in ClickHouse | OneUptime Blog](https://oneuptime.com/blog/post/2026-03-31-clickhouse-what-is-a-materialized-view/view)\n\n- [A Guide to Materialized Views in ClickHouse | hypequery](https://hypequery.com/blog/a-guide-to-materialized-views-in-clickhouse)\n\n- [Materialized Views in ClickHouse: Benefits, Limitations, and Alternatives | GlassFlow](https://www.glassflow.dev/blog/clickhouse-materialized-views)\n\n- [Dominate Your Analytics with Materialized Views in ClickHouse | ChistaDATA Inc.](https://chistadata.com/materialized-views-in-clickhouse-2/)\n\n- [How to use materialized views on clickhouse, please provide data plus examples | Perplexity.ai](https://www.perplexity.ai/search/how-to-use-materialized-views-54LU8aPNSw6j20kf3zMv.A)\n\n### Tutorial\n\n- [ClickHouse OSS quick start | ClickHouse Docs](https://clickhouse.com/docs/getting-started/quick-start/oss)\n\n- [Advanced tutorial | ClickHouse Docs](https://clickhouse.com/docs/tutorial)\n\n- [ClickHouse Basic Tutorial: An Introduction | Dev.to](https://dev.to/hoptical/clickhouse-basic-tutorial-an-introduction-52il)\n\n- [Beginner’s Guide to ClickHouse: Introduction, Features, and Getting Started | by Suffyan Asad - Medium](https://medium.com/@suffyan.asad1/beginners-guide-to-clickhouse-introduction-features-and-getting-started-55315107399a)\n\n- [2 ClickHouse tutorials: Quick start and large-scale data analysis | Instaclustr](https://www.instaclustr.com/education/clickhouse/2-clickhouse-tutorials-quick-start-and-large-scale-data-analysis/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkobridee%2Fdocker-clickhouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkobridee%2Fdocker-clickhouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkobridee%2Fdocker-clickhouse/lists"}