Skip to content

Commit

Permalink
Adding utility init script for docker #75
Browse files Browse the repository at this point in the history
  • Loading branch information
imbur committed Nov 12, 2017
1 parent db42372 commit 259dee9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/init-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

pkill docker

iptables -t nat -F

ifconfig docker0 down

brctl delbr docker0

docker -d

service docker start

0 comments on commit 259dee9

Please sign in to comment.