opendkim/start.sh

13 lines
217 B
Bash
Raw Normal View History

2018-12-17 12:53:15 +00:00
#!/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