This repository contains de Centralized Network Controller developed for the Master's final project:
Development of a Centralized Network Controller and mechanisms for its Duplication over Time-Sensitive Networking (TSN) Ethernet Networks.
docker build --rm -t <name> .
Where name could be: aservera/cnc:latest
Or Script: buildDockerImage.sh
Before anything, make sure other running containers can't interfere by running:
docker container prune
.
Inside the directory where docker-compose.yml is Run:
docker-compose up -d
Once the container is running in the background you can run docker-exec commands, such as openning a shell:
docker exec -it cnc ./bin/bash
Or Script: ./Docker/cnc-docker/openDockerTerminal.sh
Once in the shell you can execute the cnc application:
cd /libs/cnc/build/
./cnc