Created
August 28, 2019 06:47
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