Last active
January 21, 2018 15:35
-
-
Save ilya-muhortov/51e99b12428a02cf42e6125c893f1f9e to your computer and use it in GitHub Desktop.
Docker install
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 software-properties-common && | |
| apt-add-repository ppa:ansible/ansible && | |
| apt-get update && | |
| apt-get install -y ansible && | |
| sudo sh -c "echo 'localhost ansible_connection=local' >> /etc/ansible/hosts" | |
| apt-get install --yes linux-image-extra-$(uname -r) linux-image-extra-virtual | |
| apt-get update | |
| apt-get install --yes apt-transport-https ca-certificates curl software-properties-common | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| apt-key fingerprint 0EBFCD88 | |
| add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| apt-get update | |
| apt-get install --yes docker-ce python3-pip git | |
| pip3 install docker-compose | |
| systemctl enable docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment