mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
14 lines
330 B
Bash
Executable file
14 lines
330 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# We assume the docker daemon is dedicated to the current job (the jobs runs on isolated docker daemon)
|
|
# Stop running containers
|
|
for container in $(docker ps -q)
|
|
do
|
|
docker stop $container || true
|
|
done
|
|
|
|
# Removing containers
|
|
for container in $(docker ps -a -q)
|
|
do
|
|
docker rm -v $container || true
|
|
done
|