Minimal Alpine-based Docker image for running earnfm_example with glibc and TLS support.
This image contains the prebuilt earnfm_example binary under /app and includes the necessary libc6-compat and ca-certificates for TLS connections. It supports linux/amd64, linux/arm/v7, and linux/arm64 architectures.
You can run the container with the following command:
docker run -itd \
--name earnfm-alpine \
-e EARNFM_TOKEN=<your_token_here> \
garfieldwtf/earnfm:latest
Explanation of flags:
-itd – Runs the container in detached interactive mode.--name earnfm-alpine – Names the container for easy management.-e EARNFM_TOKEN=<your_token_here> – Pass your token to the container as an environment variable.docker run -itd \
--name earnfm-alpine \
-e EARNFM_TOKEN=YOUR_TOKEN_HERE \
garfieldwtf/earnfm:latest
To see the container logs:
docker logs -f earnfm-alpine
To start an interactive shell in the running container:
docker exec -it earnfm-alpine /bin/sh
/app/earnfm_example.Content type
Image
Digest
sha256:fbb1c34f8…
Size
6.8 MB
Last updated
6 months ago
docker pull garfieldwtf/earnfm