Skip to content

Instantly share code, notes, and snippets.

@shoaibi
Last active September 28, 2016 14:41
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 shoaibi/1083ff996e8532397c77110f2ecd10ef to your computer and use it in GitHub Desktop.
Save shoaibi/1083ff996e8532397c77110f2ecd10ef to your computer and use it in GitHub Desktop.
Making the file links work on symfony exception pages with docker
# 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