Created
August 17, 2016 13:32
-
-
Save aolle/f305d0d1f6453cdc14551706154b46e7 to your computer and use it in GitHub Desktop.
Docker run script for postfix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| docker run -d --name srv01-postfix \ | |
| -v ~/docker/postfix/conf/:/etc/postfix/ \ | |
| --net=backend \ | |
| --net-alias postfix \ | |
| --restart on-failure:5 \ | |
| custom_img/postfix \ | |
| hostname.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment