Created
March 7, 2018 08:48
-
-
Save Edison-Hsu/1cecd53acdd2b96188662619f98644d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get update | |
| apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| software-properties-common | |
| curl -fsSL https://download.daocloud.io/docker/linux/ubuntu/gpg | sudo apt-key add - | |
| add-apt-repository \ | |
| "deb [arch=$(dpkg --print-architecture)] https://download.daocloud.io/docker/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| apt-get update | |
| apt-get install -y -q docker-ce=17.09.1* | |
| service docker start | |
| service docker status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment