os-init/alpine/apps/docker/docker.sh
2023-11-19 17:20:23 +01:00

18 lines
258 B
Bash

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