18 lines
302 B
Bash
18 lines
302 B
Bash
#!/bin/dash
|
|
|
|
rc-update del iptables
|
|
rc-update del ip6tables
|
|
apk del iptables ip6tables
|
|
|
|
# swapoff -a
|
|
# sed -i "/swap/d" /etc/fstab
|
|
|
|
# sed -i "s/# //" /etc/apk/repositories
|
|
|
|
apk add docker docker-compose
|
|
|
|
# sysctl -w net/netfilter/nf_conntrack_max=131072
|
|
|
|
rc-update add docker boot
|
|
service docker start
|