Docker production deployment fails - rm: cannot remove '/var/run/hhvm/sock': No such file or directory #229
Description
System:
Ubuntu 14.04.05 with 2GB of RAM running on DigitalOcean
Command: docker build --build-arg MODE=prod --build-arg DOMAIN=hackitu.io --build-arg EMAIL=adrian@brink-holdings.com --build-arg TYPE=certbot -t="fbctf_in_prod" .
Expected Result: A deployed build.
Actual Result:
\033[0;32m [+] fbctf deployment is complete! Ready in https://10.10.10.5 \033[0m rm: cannot remove '/var/run/hhvm/sock': No such file or directory The command '/bin/sh -c apt-get update && apt-get install -y rsync ca-certificates && chown www-data:www-data $HOME && ./extra/provision.sh -m $MODE -c $TYPE -k $KEY -C $CRT -D $DOMAIN -e $EMAIL -s
pwd--docker && rm /var/run/hhvm/sock && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 1
Further question, what's the process to make the docker container accessible from the outside world and can I use a different email address than my deployment domain.