11 lines
167 B
Bash
Executable File
11 lines
167 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Stop everything
|
|
docker stop $(docker ps -a -q)
|
|
|
|
# Remove all containers
|
|
docker rm $(docker ps -a -q)
|
|
|
|
# Remove all imagesa
|
|
docker rmi $(docker images -q)
|