To rebuild clickhouse images from their git src: link
docker-compose -f ./build-from-git-src.yml build
-
Prerequire:
- The valid
config.xml
andusers.xml
are mounted atclickhouse-config
folder - User may change the
CLICKHOUSE_UID
andCLICKHOUSE_GID
indocker-compose.yml
to their own host machine uid and id by running these command below- echo "CLICKHOUSE_UID=$(id -u)"
- echo "CLICKHOUSE_GID=$(id -g)"
- The valid
-
Run single node of Clickhouse on arm64
docker-compose -f ./docker-compose.yml up -d
- Check if container is loaded OK
echo 'SELECT version()' | curl 'http://localhost:8123/' --data-binary @-