Version: development
Run Web3Signer from Docker image
Web3Signer publishes two Docker images. Both include Eclipse Temurin JRE 25 and the same Web3Signer application.
- Ubuntu image (
consensys/web3signer:<version>). Includes a shell and runs as theweb3signeruser. - Distroless image (
consensys/web3signer:<version>-distroless). Based on Google Distroless. Has no shell and no package manager, and runs as UID65532.
Replace <version> with latest or a release tag.
Prerequisites
-
MacOS or Linux
Important
The Docker image does not run on Windows.
Run Docker image
Display the Web3Signer command line help:
- Ubuntu
- Distroless
docker run consensys/web3signer:<version> --help
docker run consensys/web3signer:<version>-distroless --help
Expose listening port
To use the default listening port (9000) or the port specified using --http-listen-port, you
must expose the listening port.
- Ubuntu
- Distroless
docker run -p <listenPort>:9000 consensys/web3signer:<version> [options] [subcommand] [options]
docker run -p <listenPort>:9000 consensys/web3signer:<version>-distroless [options] [subcommand] [options]
Use the distroless image
The distroless image does not require --read-only.
For optional read-only root filesystem hardening, passing JVM options, and key manager
imports that skip disk writes, see Run the distroless Docker image.