Skip to content

A container image for p2pool using SChernykh's p2pool distribution

License

Notifications You must be signed in to change notification settings

comminutus/p2pool

Repository files navigation

p2pool

AGPL License CI GitHub release (latest by date)

Description

This is a p2pool container image built using the binaries distributed by SChernykh. The container image runs p2pool.

Since the distributed p2pool binary uses dynamically-linked glibc, it uses the Chainguard glibc-dynamic base image. This is a distroless container, and as such has very little attack surfaces. It also has no shell, so it's not possible to execute a shell into the container.

Getting Started

podman pull ghcr.io/comminutus/p2pool
podman run -it --rm ghcr.io/comminutus/p2pool

Usage

Note that the container image does not set any other command line options other than --data-api (see "Volumes" below).

For a full list of command line options, run p2pool --help.

Persistent Data

The container's persistent data, including configuration and blockchain data are stored at /var/lib/p2pool.

When running the container image with Docker, Kubernetes, OpenShift, etc., mount your volumes at /var/lib/p2pool.

User/Group

Because the container uses Chainguard's image as a base, the p2pool process is run as a non-root user. The username and group name is nonroot. The UID and GID are set to 65532.

Ports

The container exposes the following ports:

Port Enabled by Default? Use
3333 Y Stratum server (port used for miners to communicate with p2pool)
37888 N p2pool-mini side chain peer communications; only used if --mini is used on command line
37889 Y p2pool side chain peer communications; disabled if --mini is used on command line

Dependencies

Name Version
Chainguard glibc-dynamic latest
p2pool v4.1

License

The container image portion of this project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

The p2pool software binaries included with this container image inherit p2pool's license - see the P2POOL LICENSE file inside the container or the LICENSE file from p2pool's repository for more details.

The Chainguard glibc-dynamic base container image is licensed under the Apache 2.0 License