Docker provides an easy way to create lightweight virtual machines called containers. It is a vast subject area, with many nuances for different build platforms.
- Docker installed on local or remote machine(s)
- Dockerfile - instruction to build your own flavour of Corda docker
- compose - directory with an example of Corda network create with the Docker Compose
- swarm - directory with an example of Corda network create with the Docker Swarm
- scripts - directory additional scripts
In the scripts directory there is the ./docker-build.sh
script that will clean and build the image. Just run
it to create your Docker image appropriately tagged. If you need to make your own, just copy what's
already there and modify.
We collect some backgrkound information about Docker here.
Docker Compose builds your complete network consisting of multiple linked containers. You can find and example of compse definition for Corda with some furter information in the comopse directory.
Please refer to the Docker Swarm information for using Docker at scale with multiple host machines. You can find and example of swarm definition for Corda with some furter information in the swarm directory.