added build & push
This commit is contained in:
10
postfix/scratchpad.sh
Normal file
10
postfix/scratchpad.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
# export DOCKER_BUILDKIT=1
|
||||
# docker run -d --name apache -p80:80 -v/root/kopano/dist:/var/www httpd
|
||||
docker build -t postfix .
|
||||
docker run -d --name postfix -v/root/kopano/postfix/etc/postfix:/etc/postfix -p8025:25 postfix
|
||||
docker logs -f postfix
|
||||
docker exec -it postfix sh
|
||||
|
||||
docker kill postfix
|
||||
docker rm postfix
|
||||
Reference in New Issue
Block a user