- Install docker CE (https://docs.docker.com/v17.12/install/)
- Clone the repository (https://github.com/hard-fault/MultiClusterFileSystem.git)
- Pull the docker image for containers
docker pull shrey67/node_image
- Specify the topology in
MultiClusterFileSystem/infra/config/config.json
- Deploy containers
cd MultiClusterFileSystem/infra/setup/
python setup.py
- List all the containers
docker ps
- View container network topology and their IPs.
cd MultiClusterFileSystem/output/
cat ip.json
- Copy a file to container
docker cp <container_name> local_file_path <container_name>:destination_path
- Login to a container
docker exec -it <container_name> /bin/bash
- Remove the setup
cd MultiClusterFileSystem/infra/setup
python setup.py -d