Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

download docker ubuntu

run the follow script :
#!/bin/bash

# Uninstall old versions
sudo apt-get remove docker docker-engine docker.io containerd runc

# Set up the repository
sudo apt-get update
sudo apt-get install 
    ca-certificates 
    curl 
    gnupg 
    lsb-release
    
# Install Docker Engine
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

sudo docker --version
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #download #docker #ubuntu
ADD COMMENT
Topic
Name
4+1 =