Skip to main content
Most Docker images will work out of the box on Dispersed but if you want to have SSH access to your image you’ll need to run an SSH server and populate your authorized_keys file with appropriate public keys. When creating a Dispersed Job anything you pass to the ‘sshkey’ parameter will be accessible in the Docker container as the environmental variable SSH_PUBKEY, the same applies in a Dispersed Job Recipe for an SSH Key type field in your Input Schema. We provide some examples of Dockerfiles and entrypoints at https://github.com/dispersednetwork/compute_examples/tree/main/docker-images

A basic example of adding Dispersed SSH to an existing image:
10-sshd
Dockerfile
entrypoint.sh