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