Last active
September 28, 2016 14:41
-
-
Save shoaibi/1083ff996e8532397c77110f2ecd10ef to your computer and use it in GitHub Desktop.
Making the file links work on symfony exception pages with docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the first 2 steps are needed if the project dir inside container is inside /home. | |
sudo vi "+g/^\/home/s/\//#\//" "+x" /etc/auto_master | |
diskutil umount /home | |
sudo ln -s ~/Path/to/projects/on/host /path/to/projects/inside/docker/container | |
# say: | |
# sudo ln -s ~/projects/company/ /home/www-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment