A simple container that receives a csv dataset, computes some metric from the data and saves it to a text file (dataset.out)
In your host, let's assume you have 'dataset.csv' in your '~/data/'
Then you can run as:
docker run -v ~/data/:/work lin-reg dataset.csv
Make sure you mount the host dir that contains the dataset to /work on the container
See here for more details: