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 #!/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