Sign inSign up

garfieldwtf/earnfm

By garfieldwtf

Updated 6 months ago
Archived

Image
0

541

garfieldwtf/earnfm repository overview

earnfm-alpine

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.


Usage

Run the container

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.
Example
docker run -itd \
  --name earnfm-alpine \
  -e EARNFM_TOKEN=YOUR_TOKEN_HERE \
  garfieldwtf/earnfm:latest

Accessing the container

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

Notes

  • The binary is located at /app/earnfm_example.
  • The container includes glibc compatibility and CA certificates, so TLS connections for WebSockets will work out-of-the-box.
  • Supports multiple architectures: amd64, arm/v7, and arm64.

Tag summary

Content type

Image

Digest

sha256:fbb1c34f8

Size

6.8 MB

Last updated

6 months ago

docker pull garfieldwtf/earnfm