ID=$(docker ps -f ancestor=cmc:latest -q) docker kill $ID sleep 1 docker run -d -p 127.0.0.1:8888:80 --mount type=bind,source="$(pwd)"/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf cmc:latest