Add Alpine Linux scripts
This commit is contained in:
17
alpine/apps/docker/docker.sh
Normal file
17
alpine/apps/docker/docker.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/dash
|
||||
|
||||
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
|
||||
|
||||
sleep 3
|
||||
Reference in New Issue
Block a user