os-init/alpine/apps/docker/docker.sh

18 lines
258 B
Bash
Raw Normal View History

2023-11-19 16:20:23 +00:00
#!/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