Skip to content

Instantly share code, notes, and snippets.

@bugparty
Created July 29, 2019 15:15
Show Gist options
  • Save bugparty/75ae5754aac69261e61e79dfbfac0d2f to your computer and use it in GitHub Desktop.
Save bugparty/75ae5754aac69261e61e79dfbfac0d2f to your computer and use it in GitHub Desktop.
install docker on ubuntu 18.04
#!/bin/bash
apt -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
apt update && apt -y install docker-ce docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment