root@curl -fsSL https://get.docker.com -o get-docker.sh root@sh ./get-docker.sh
进化版
$ sudo apt-get update $ sudo apt-get install curl $ curl -fsSL https://get.docker.com/ | sh $ sudo usermod -aG docker <your_username>
参考资料:https://docs.sevenbridges.com/docs/install-docker-on-linux