Skip to content

Instantly share code, notes, and snippets.

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