From 259dee97c7b0ed4adfe047f40f69d015850168c8 Mon Sep 17 00:00:00 2001 From: Marton Bur Date: Sat, 11 Nov 2017 19:10:36 -0500 Subject: [PATCH] Adding utility init script for docker #75 --- scripts/init-docker.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/init-docker.sh diff --git a/scripts/init-docker.sh b/scripts/init-docker.sh new file mode 100755 index 000000000..0480803a6 --- /dev/null +++ b/scripts/init-docker.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +pkill docker + +iptables -t nat -F + +ifconfig docker0 down + +brctl delbr docker0 + +docker -d + +service docker start +