Update Alpine Docker script

This commit is contained in:
MatMoul 2023-11-19 17:54:40 +01:00
parent a6af75ccb9
commit 7badf3b3bf

View File

@ -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