Skip to content
Snippets Groups Projects
Commit 12f7b965 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Enforce removal of container network namespace."

parents fd0c7300 6c5a6c65
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,11 @@ echo "Stopping containers..."
echo "Removing containers..."
(docker rm -v -f ${containers_to_kill} 2>&1) > /dev/null
echo "Disconnecting containers from docker host network"
for container in ${containers_to_kill}; do
(docker network disconnect -f host $container 2>&1) > /dev/null
done
echo "Removing volumes..."
(docker volume rm ${volumes_to_remove} 2>&1) > /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment