Import Upstream version 20180207
[hcoop/debian/mlton.git] / bin / run-docker
... / ...
CommitLineData
1#!/bin/bash
2
3NAME="mlton-run-docker"
4
5# Remove any containers which already have $NAME.
6docker image rm $NAME
7
8# build container, and assign it tag $NAME
9docker build -t $NAME .
10
11# run container with the tag $NAME.
12docker run --rm -it $NAME