Skip to content

Instantly share code, notes, and snippets.

@bwinant
Created August 28, 2019 06:47
Show Gist options
  • Save bwinant/c25c56fee7d474f6e4b907878b19cd82 to your computer and use it in GitHub Desktop.
Save bwinant/c25c56fee7d474f6e4b907878b19cd82 to your computer and use it in GitHub Desktop.
Docker
# 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