This is not automated script or something, but for those who would like to setup by hand.
wget -qO- get.docker.com | bash
# Just add USER to docker group. :)
sudo groupadd docker || true
sudo usermod -aG docker $USER
newgrp docker
# Optional
docker network create proxy-net
bash <(curl -fsSL https://tcp.hy2.sh/)
sudo nano /etc/sysctl.conf
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
sudo sysctl -p