mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
11 lines
244 B
Bash
Executable File
11 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# !!! use with caution !!!
|
|
# source: https://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/
|
|
|
|
# delete all containers
|
|
docker rm -f $(docker ps -a -q)
|
|
|
|
# delete all images
|
|
docker rmi -f $(docker images -q)
|