Last active
March 25, 2016 19:24
-
-
Save johnelliott/7631fd23312b2916a11d to your computer and use it in GitHub Desktop.
docker tips on OSX
This file contains hidden or 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
| # run these to clear up virtualbox space | |
| $ docker rm -f $(docker ps -a -q) | |
| $ docker rmi -f $(docker images -af "dangling=true" -q) | |
| # export a docker machine ip | |
| ```bash | |
| export DOCKER_MACHINE_IP=$(docker-machine ip $DOCKER_MACHINE_NAME) | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment