Closed ANGkeith closed 4 months ago
docker rm and docker volume rm supports multiple args.
docker rm
docker volume rm
this should probably be slightly more efficient.
Not too sure why, but the current cleanup also seemed to leave some docker volume undeleted
docker volume
To replicated the issue:
# .gitlab-ci.yml job0: image: bash script: echo hi
for i in $(seq 1 9); do gitlab-ci-local done
Run docker volume ls and observe that there are remaing xxxxx-tmp volume that are not cleaned up
docker volume ls
xxxxx-tmp
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 100.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
docker rm
anddocker volume rm
supports multiple args.this should probably be slightly more efficient.
Not too sure why, but the current cleanup also seemed to leave some
docker volume
undeletedTo replicated the issue:
Run
docker volume ls
and observe that there are remaingxxxxx-tmp
volume that are not cleaned up