Last active
August 21, 2016 11:00
-
-
Save klappradla/db570818e7efb11003ce475544173306 to your computer and use it in GitHub Desktop.
Stop and remove all Docker containers (running or not), interactive console in container
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
# Stop and remove all docker containers | |
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) | |
# Run an interative console (like byebug or pry) | |
docker-compose run --service-ports appname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment