Skip to content

Instantly share code, notes, and snippets.

@crittermike
Created June 30, 2017 18:08
Show Gist options
  • Save crittermike/799aa2754b4d0696724fe915350c22a7 to your computer and use it in GitHub Desktop.
Save crittermike/799aa2754b4d0696724fe915350c22a7 to your computer and use it in GitHub Desktop.
Opening shell/cli prompts inside containers with Outrigger
# Open the actual running container
docker exec -it PROJECTNAME_local_www sh
# Run the command in a throwaway container
docker-compose -f build.yml run --rm cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment