Skip to content

Instantly share code, notes, and snippets.

Matthieu mchoplin

Block or report user

Report or block mchoplin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.io
### Keybase proof
I hereby claim:
* I am mchoplin on github.
* I am matthieumade (https://keybase.io/matthieumade) on keybase.
* I have a public key ASAz4mTtDMulylrD70xhOC-5Ttcqeb27V4WiyJcIMnBRZAo
To claim this, I am signing this object:
@mchoplin
mchoplin / gist:2f25220625963db3b1e5eb78da8623cd
Last active Dec 12, 2018
remove_docker_containers_and_images.sh
View gist:2f25220625963db3b1e5eb78da8623cd
#!/bin/bash
# Stop all docker containers
docker container stop $(docker container ls -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
# Remove the volumes (--volumes), any unused images (--all), as well as override the confirmation prompt (--force)
docker system prune -a -f --volumes
You can’t perform that action at this time.