Adding pruning of old images.

This commit is contained in:
mike12345567 2024-12-16 18:35:49 +00:00
parent 08f4e0d9ae
commit 0b5faafaa2
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ function getTestcontainers(): ContainerInfo[] {
function removeContainer(container: ContainerInfo) { function removeContainer(container: ContainerInfo) {
execSync(`docker rm -f ${container.ID}`) execSync(`docker rm -f ${container.ID}`)
execSync(`docker system prune -f`)
} }
export function getContainerByImage(image: string) { export function getContainerByImage(image: string) {