12 lines
178 B
Bash
Executable File
12 lines
178 B
Bash
Executable File
#!/bin/bash
|
|
|
|
IMAGE=dovecot
|
|
|
|
docker build -t $IMAGE .
|
|
docker rm -f $IMAGE
|
|
docker run -d \
|
|
-h $(hostname -f) \
|
|
--name $IMAGE \
|
|
-v /etc/localtime:/etc/localtime:ro \
|
|
$IMAGE
|