How to run a warthog node with docker.

Basic way

docker run zzjulien/warthog_node:latest

Modify your node

Exemple you can add this type of arguments to run a node with stratum enabled

docker run --expose 3456 zzjulien/warthog_node:latest --stratum=0.0.0.0:3456

Run a (RPC) public node

docker run --expose 3001 zzjulien/warthog_node:latest --enable-public

--enable-public exposes a filtered subset of the API on port 3001. Critical admin endpoints (e.g., POST /chain/append, /debug/rollback, peer admin) are not exposed. The default RPC port (3000) is full-access and should never be exposed to the internet — use a firewall to restrict access to port 3000.