Skip to content

Instantly share code, notes, and snippets.

@bradfordcondon
Created October 20, 2017 15:59
Show Gist options
  • Save bradfordcondon/46bced8a868f6a2bd18c268e2df1237d to your computer and use it in GitHub Desktop.
Save bradfordcondon/46bced8a868f6a2bd18c268e2df1237d to your computer and use it in GitHub Desktop.
laradock
docker-compose up -d nginx mysql # bring up container with nginx and mysql
docker-compose exec workspace bash # enter workspace
docker-compose exec --user=laradock workspace bash # To have files created as the host's user, specify user = laradock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment