Last active
August 16, 2018 14:47
-
-
Save nnfuzzy/ed7bc43bade6b546d4e4fb7a9b487ac1 to your computer and use it in GitHub Desktop.
ubuntu docker install 1 liner
This file contains 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
#!/bin/bash | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && apt-cache policy docker-ce && sudo apt-get install -y docker-ce docker-compose && sudo systemctl status docker && sudo usermod -aG docker ${USER} && sudo apt-get install -y docker-compose && sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment