opendkim/start.sh
2018-12-17 13:53:15 +01:00

13 lines
217 B
Bash
Executable File

#!/bin/bash
IMAGE=opendkim
docker build -t $IMAGE .
docker rm -f $IMAGE
docker run -d \
-h $(hostname -f) \
--name $IMAGE \
-v /etc/localtime:/etc/localtime:ro \
-v $PWD/opendkim:/etc/opendkim:ro \
$IMAGE