Sunday, December 04, 2016

How to run composer as www-data

sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'