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/:/data lin-reg dataset.csv
Make sure you mount the host dir that contains the dataset to /data/ on the container