Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- os.system("sudo apt update")
- os.system("sudo apt install apt-transport-https ca-certificates curl software-properties-common")
- os.system("curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -")
- os.system('sudo add-apt-repository "deb [arch=amd64] https://download.docker.con/linux/ubuntu bionic stable"')
- os.system("sudo apt update")
- os.system("apt-cache policy docker-ce")
- os.system("sudo apt install docker-ce")
- os.system("sudo systemctl status docker")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement