We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a119fd commit b3293c2Copy full SHA for b3293c2
framework/docker.go
@@ -388,6 +388,7 @@ func RemoveTestContainers() error {
388
func RemoveTestStack(name string) error {
389
L.Info().Str("stack name", name).Msg("Cleaning up docker containers")
390
// Bash command for removing Docker containers and networks with "framework=ctf" label
391
+ //nolint:gosec //ignoring G204
392
cmd := exec.Command("bash", "-c", fmt.Sprintf(`
393
docker ps -a --filter "label=com.docker.compose.project" --format '{{.ID}} {{.Label "com.docker.compose.project"}}' \
394
| awk '$2 ~ /^%s/ { print $2 }' | sort -u \
0 commit comments