Adding pruning of old images.
This commit is contained in:
parent
08f4e0d9ae
commit
0b5faafaa2
|
@ -39,6 +39,7 @@ function getTestcontainers(): ContainerInfo[] {
|
|||
|
||||
function removeContainer(container: ContainerInfo) {
|
||||
execSync(`docker rm -f ${container.ID}`)
|
||||
execSync(`docker system prune -f`)
|
||||
}
|
||||
|
||||
export function getContainerByImage(image: string) {
|
||||
|
|
Loading…
Reference in New Issue