Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run PHP inside Docker inside CodeRunner
// enter this in the "Run Command" field in CodeRunner preferences
eval "$(docker-machine env default)" && docker run --rm php:7.0.1-cli php -r "$(sed 's/^<\?php//' $filename)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.