Obtaining the Docker Images
(See Install With Docker for instructions on running the Canton Docker images.) You can download the Canton docker images using:- DevNet
- TestNet
- MainNet
https://europe-docker.pkg.dev/v2/da-images/public/docker/canton-participant/tags/list to see available tags.
These docker images are published starting with Canton version 3.4.8.
Snapshot releases are available at /da-images/public-unstable/docker/ instead of /da-images/public/docker/, but they are not recommended for any production usage and they are periodically cleaned up.
Work With the Docker Containers
Using the Participant Image
As a convenience, we provide a pre-configured participant image that can be used to start a Canton participant with sensible defaults. Using this image requires setting several environment variables:Logging
Logs are JSON encoded and sent to stdout. The log level is set via-e LOG_LEVEL_STDOUT=INFO. It defaults to DEBUG.
Bound Ports
canton-participant image binds:
- Ledger API port: 5001
- Admin API port: 5002
- HTTP Ledger API port: 7575
- GRPC Health Server port: 5061
canton-mediator image binds:
- Admin API port: 5007
- GRPC Health Server port: 5061
canton-sequencer image binds:
- Public API: 5008
- Admin API: 5009
- GRPC Health Server port: 5061
Supplying custom configuration and DARs
To supply custom configuration, either- add it via
ADDITIONAL_CONFIGenvironment variable, or - mount
/app/additional-config.confinto the container.
--console flag starts canton in interactive console mode.