Update Alpine Docker script
This commit is contained in:
1 parent
a6af75ccb9
commit
7badf3b3bf
1 file changed
+5
-5
@@ -1,11 +1,13 @@
|
||||
#!/bin/dash
|
||||
|
||||
rc-update del iptables
|
||||
rc-update del ip6tables
|
||||
apk del iptables ip6tables
|
||||
|
||||
swapoff -a
|
||||
sed -i "/swap/d" /etc/fstab
|
||||
# swapoff -a
|
||||
# sed -i "/swap/d" /etc/fstab
|
||||
|
||||
sed -i "s/# //" /etc/apk/repositories
|
||||
# sed -i "s/# //" /etc/apk/repositories
|
||||
|
||||
apk add docker docker-compose
|
||||
|
||||
@@ -13,5 +15,3 @@ apk add docker docker-compose
|
||||
|
||||
rc-update add docker boot
|
||||
service docker start
|
||||
|
||||
sleep 3
|
||||
Reference in new issue
Block a user