Mounting a shared volume on a docker image

Yesterday I needed a php 5.6 environment. Locally I'm running 7.0. First thought was to brew install php56, unlink php7 and link php56, but »