Install Docker on AWS Ubunt 20.04 LTS

Reference site https://docs.docker.com/engine/install/ubuntu/

Set up the repository

sudo apt update && sudo apt upgrade

sudo apt install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo apt-key fingerprint 0EBFCD88

sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

Docker engine installation

sudo apt update

sudo apt install docker-ce docker-ce-cli containerd.io

apt-cache madison docker-ce

sudo apt install docker-ce=5:19.03.13~3-0~ubuntu-focal docker-ce-cli=5:19.03.13~3-0~ubuntu-focal containerd.io

Confirmation of successful installation

sudo docker run hello-world

Docker engine uninstall

Operation unconfirmed
sudo apt-get purge docker-ce docker-ce-cli containerd.io

sudo rm -rf /var/lib/docker

Recommended Posts

Install Docker on AWS Ubunt 20.04 LTS
Install docker on AWS EC2
Install Docker on Manjaro
Install Docker on Raspberry Pi
Install Docker on Windows 10 PRO
Install Docker on Ubuntu Server 20.04
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS
Install openjdk8 on Docker image (Debian)
Install AWS IoT Greengrass on Ubuntu
To beginners launching Docker on AWS
Run the AWS CLI on Docker
Install docker and docker-compose on Alpine Linux
Build an environment with Docker on AWS
Try the Docker environment on AWS ECS
Liberty on Docker
Redmine on Docker
Just install Laravel8 on docker in PHP8 environment
Install Docker on Raspberry Pi 4 and Raspberry Pi OS 64bit
Environment construction command memo with Docker on AWS
How to install multiple JDKs on Ubuntu 18.04 LTS
Install gradle on mac
Install docker-compose on a Graviton 2 instance of AWS EC2
How to install Ruby on an EC2 instance on AWS
Install Corretto 8 on Windows
Install OpenJDK on macOS
Install Java on Mac
Docker installation on CentOS 6
Install Golang on CentOS 8
Install pyqt5 on ubuntu
python notes on docker
Install Neo4j 4.1.3 on centOS
Deploy laravel using docker on EC2 on AWS ① (Create EC2 instance)
List how to learn from Docker to AKS on AWS
[CentOS7] Install aws cli
Install Vertica 10.0 on CentOS 6.10
Install Ruby on Ubuntu 20.04
Install PostgreSQL 12 on Centos8
How to install Docker
Install nginx on centOS7
Install lombok on SpringToolSuite4
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Install Autoware on Ubuntu 18.04.5
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Apache2 on Ubuntu20.04 LTS
Install openjdk11 on mac
Install Homebrew on Ubuntu 20.04
M.S. docker on Windows
Install Redmine 4.1.1 on CentOS 7
Install OpenJDK 8 on mac
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Docker installation on WSL2
Install Composer with Docker
Run phpunit on Docker
Creating a docker host on AWS using Docker Machine (personal memorandum)
[Amateur remarks] Build multiple WordPress on AWS using Docker Compose
Deploy laravel using docker on EC2 on AWS ② (Elastic IP acquisition-linking)