From 25e1cbd829b8c172cca696c71eabc0a5f8d401fa Mon Sep 17 00:00:00 2001 From: Chris Done Date: Tue, 19 Nov 2019 12:11:42 +0000 Subject: [PATCH] Add note on docker run --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index cd4bc51..a154ed1 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ $ duet run demo.hs Note that this demonstrates basic argument application and non-strictness. +## Docker run + +Run with the docker distribution, to easily run on any platform: + + $ docker run -it -v`pwd`:`pwd` -w`pwd` chrisdone/duet run foo.hs + +The image is about 11MB, so it's quick to download. + ## Differences from Haskell See also the next section for a complete example using all the