SHARE
TWEET

Untitled

a guest Jan 20th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2.  
  3. os.system("sudo apt update")
  4.  
  5. os.system("sudo apt install apt-transport-https ca-certificates curl software-properties-common")
  6.  
  7. os.system("curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -")
  8.  
  9. os.system('sudo add-apt-repository "deb [arch=amd64] https://download.docker.con/linux/ubuntu bionic stable"')
  10.  
  11. os.system("sudo apt update")
  12.  
  13. os.system("apt-cache policy docker-ce")
  14.  
  15. os.system("sudo apt install docker-ce")
  16.  
  17. os.system("sudo systemctl status docker")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top