davidepatti / noxim

Network on Chip Simulator
225 stars 120 forks source link

Add Docker support #72

Closed andreaskurth closed 5 years ago

andreaskurth commented 5 years ago

As discussed with @smonteleone at ICCD'18, this PR allows to install and run Noxim on any computer that can run Docker.

Build a Docker image for Noxim on your machine and create a container named noxim:

docker build -t noxim https://raw.githubusercontent.com/davidepatti/noxim/master/other/setup/Dockerfile
docker create --name noxim -it noxim

Then, whenever you want to run Noxim:

docker run -ai noxim
cd /opt/noxim/bin
./noxim -config ../config_examples/default_config.yaml

Modifications to configuration and sources are persisted inside that container.

You may want to add these steps to the README.

Thanks for creating and maintaining Noxim!