How to install Docker with script, one command

curl -fsSL <https://get.docker.com> | sh

How to setup SOCK5 proxy