Created
August 28, 2019 06:47
-
-
Save bwinant/c25c56fee7d474f6e4b907878b19cd82 to your computer and use it in GitHub Desktop.
Docker
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
# Cleanup images | |
docker images | grep "<none>" | awk '{print $3}' | xargs docker rmi | |
# Get shell | |
docker exec -it <containerId> /bin/bash | |
# Run Redis | |
docker run -d -p 6379:6379 redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment