You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
379 B

  1. #!/bin/bash
  2. #
  3. echo "Installing docker.."
  4. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  5. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  6. sudo apt-get update
  7. apt-cache policy docker-ce
  8. sudo apt-get install -y docker-ce
  9. sudo usermod -aG docker ${USER}
  10. sudo systemctl status docker