#!/usr/bin/bash # export DOCKER_BUILDKIT=1 docker run -d --rm --name www -p80:80 -v/root/kopano-docker/dist:/usr/local/apache2/htdocs httpd docker build --no-cache --progress=plain -t z-push . docker run --rm -it --name z-push \ -e "MAIL_DOMAIN=ads65.de" \ -e "APACHE_RUN_DIR=/var/www" \ -e "APACHE_RUN_USER=www-data" \ -e "APACHE_RUN_GROUP=www-data" \ -e "APACHE_LOG_DIR=/var/log" \ -e "APACHE_PID_FILE=/var/run/apache2/apache2.pid" \ z-push docker logs -f z-push docker exec -it z-push bash docker kill z-push docker rm z-push docker container ls docker container prune docker image ls docker image prune -a -f # docker login --username baloan --password 'yZBCUs5&@?:.' # docker tag -t z-push:latest ... # docker push