Skip to content

Instantly share code, notes, and snippets.

@mbaynton
Created April 30, 2017 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbaynton/5270ffc9a181c377c10b237e53f0990b to your computer and use it in GitHub Desktop.
Save mbaynton/5270ffc9a181c377c10b237e53f0990b to your computer and use it in GitHub Desktop.
Docker command for a debuggable Drupal 7 container using prophusion-apache
#!/bin/bash
docker rm d753_curator
docker run -t -v /home/mbaynton/d7.53_curator:/var/www/html -v /usr/local/phpenv/versions -p 80:80 -e 'PHP_VERSION=7.0.18' -e 'XDEBUG2HOST="serverName=d753_curator"' --cap-add SYS_PTRACE --security-opt seccomp:unconfined --name d753_curator -d prophusion/prophusion-apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment