Skip to content

Instantly share code, notes, and snippets.

@nnfuzzy
Last active August 16, 2018 14:47
Show Gist options
  • Save nnfuzzy/ed7bc43bade6b546d4e4fb7a9b487ac1 to your computer and use it in GitHub Desktop.
Save nnfuzzy/ed7bc43bade6b546d4e4fb7a9b487ac1 to your computer and use it in GitHub Desktop.
ubuntu docker install 1 liner
#!/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