docker-haskell is a minimal Ubuntu-based docker container.
docker-haskell can be used in the following ways:
-
As a haskell development environment
run
alex,cabal,ghc, orhappydirectly -
As a container in which to run haskell apps
compile/run haskell app locally; access via ssh
-
As a base image for other containers
docker-agda,docker-idris,docker-purescript,docker-<your-haskell-app>etc.
You can download docker-haskell via the docker index at darinmorrison/haskell or build the Dockerfile directly. If you aren't familiar with how that works, see the docker tutorial: https://www.docker.io/gettingstarted.
Another possibility is darinmorrison/vagrant-haskell which is based on this container but in some ways provides a more convenient interface.
For the time being, see phusion/baseimage-docker for further details, including how to access the container via ssh.