Skip to content

Instantly share code, notes, and snippets.

Created Nov 22, 2014
What would you like to do?
docker aliases
alias docker.mongo='docker rm -f mongo; docker run -d -p 27017:27017 --name mongo -t mongo'
alias docker.memcached='docker rm -f memcached; docker run -d -p 11211:11211 --name memcached -t sylvainlasnier/memcached'
alias docker.php='docker rm -f php; docker run -d -p 80:80 --name php -v /Users/WWW:/WWW -t docker-php-profile'
alias docker.redis='docker rm -f redis; docker run -d -p 6379:6379 --name redis -t redis'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment