Based on Debian Slim Trixie with Python 3.14.10, OpenMPI, and mpi4py. Untested! Under Development!
45
A pre-configured, zero-friction Docker image designed for simulating cluster computing, distributed systems, and parallel processing environments.
This image eliminates the boilerplate setup required for inter-node communication. With pre-injected universal SSH keys, disabled host key verification, and a fully compiled MPI stack, you can deploy a multi-node cluster using Docker Compose with static IP addresses without writing any custom initialization scripts.
No special configuration or entrypoint scripts are needed in your docker-compose.yml. Simply define your nodes, assign static IPs via a custom network, and the image handles the rest.
services:
node-1:
image: maulanahirzan971/keyless-mpi-cluster:latest
container_name: mpi_node_1
networks:
cluster_net:
ipv4_address: 172.20.0.10
networks:
cluster_net:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/16
Access the first node and SSH into the second node using its static IP. No password or fingerprint confirmation will be requested.
# Enter the first container
docker exec -it <first_node> /bin/bash
# or
docker exec -it <first_node> /usr/bin/zsh
# SSH to the second container via its static IP
ssh root@<target_ip>
Create a simple mpi4py script and execute it across your statically defined nodes.
Note: Because the containers run as the root user by default, the --allow-run-as-root flag is required for OpenMPI.
This image is explicitly engineered for local development, simulation, and internal cluster testing.
For production deployments, it is highly recommended to build a custom derivative image that implements non-root users, dynamic SSH certificate authorities (SSH CA), and strict host key verification.
This Docker image configuration is provided as-is for educational and development purposes. Please ensure compliance with the licenses of the underlying software (Debian, Python, OpenMPI, mpi4py) when distributing derivative works.
Content type
Image
Digest
sha256:95e43c18d…
Size
325.4 MB
Last updated
about 2 hours ago
docker pull maulanahirzan971/keyless-mpi-cluster