grok2api (sha-80be1bc)

Published 2026-07-21 21:13:06 +02:00 by iteng007

Installation

docker pull git.hachimis.com/hachimis/grok2api:sha-80be1bc
sha256:d26aa945c67dbe695f88281076669bf861ddee33289645ee248c0cef7c8a3be2

About this package

Maintained grok2api fork with resilient multi-account failover

Image Layers

ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV TZ=Asia/Shanghai GROK2API_CONFIG_SOURCE=/run/grok2api/config.yaml
RUN /bin/sh -c apk add --no-cache ca-certificates su-exec tzdata && addgroup -S -g 10001 grok2api && adduser -S -D -H -u 10001 -G grok2api grok2api && mkdir -p /app/data /run/grok2api && chown -R grok2api:grok2api /app/data /run/grok2api # buildkit
WORKDIR /app
COPY --chmod=0755 /out/grok2api /app/grok2api # buildkit
COPY /src/frontend/dist /app/frontend/dist # buildkit
COPY VERSION /app/VERSION # buildkit
COPY --chmod=0755 docker/entrypoint.sh /usr/local/bin/grok2api-entrypoint # buildkit
EXPOSE [8000/tcp]
HEALTHCHECK {Test:[CMD-SHELL wget -qO- http://127.0.0.1:8000/healthz >/dev/null || exit 1] Interval:30s Timeout:5s StartPeriod:15s StartInterval:0s Retries:3}
ENTRYPOINT ["/usr/local/bin/grok2api-entrypoint"]
CMD ["/app/grok2api" "--config" "/app/config.yaml" "--listen" "0.0.0.0:8000"]

Labels

Key Value
org.opencontainers.image.created 2026-07-21T19:11:19.009Z
org.opencontainers.image.description Maintained grok2api fork with resilient multi-account failover
org.opencontainers.image.licenses
org.opencontainers.image.revision 80be1bc72c12cc1e7468885e34540f018ac92ed5
org.opencontainers.image.source https://git.hachimis.com/hachimis/grok2api
org.opencontainers.image.title grok2api
org.opencontainers.image.url https://git.hachimis.com/hachimis/grok2api
org.opencontainers.image.version latest
Details
Container
2026-07-21 21:13:06 +02:00
0
OCI / Docker
linux/arm64
22 MiB
Versions (6) View all
buildcache 2026-07-22
v3.0.7-hachimis.1 2026-07-22
latest 2026-07-22
sha-4ee1183 2026-07-22
v3.0.6-hachimis.1 2026-07-21