[DEPRECATED] Use https://hub.docker.com/r/jorge07/alpine-php instead
Php7 for dev proposals
docker run -d -p 2222:22 -p 9000:9000 -v $PWD:/app --name php7-xdebug-ssh jorge07/php7-xdebug-ssh
username: root pass: jarcodev
docker exec php7-xdebug-ssh composer -v
the volume could be where you want, just configure xginx or apache to point to that folder.
Git is installed
Shouldn't the volume folder be at /var/www/html rather than /app ?
Also it would be great to install git in the image, to enable composer install for packages at repositories in the composer.json file..