- Mounting apps locally use the branch that you have checked out locally.
- When you want to execute a rails type of command inside a container:
docker-compose exec app_name <bundle update --source gem_name>
where the command is the thing in the<>
- try turning Docker daemon off and on again
- To log in to a container to tail the logs
docker-compose exec <container-name> bash
thentail -f log/*logs
Last active
December 10, 2018 22:12
-
-
Save MelissaKaulfuss/9ecb44f42d9d536bc6ff338d028aa0b0 to your computer and use it in GitHub Desktop.
A bunch of docker commands/tips
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A docker container with the app mounted locally: