Install docker and docker-compose on ubuntu in the shortest process

$ uname -a
Linux geo-functions 5.4.0-1021-gcp #21-Ubuntu SMP Fri Jul 10 06:53:47 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$sudo apt-get update
$sudo apt-get install -y     apt-transport-https     ca-certificates     curl     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"
$sudo apt-get update
$sudo apt-get install -y docker-ce
$sudo service docker start
$sudo systemctl enable docker
$sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$sudo chmod +x /usr/local/bin/docker-compose
$ sudo docker version
Client: Docker Engine - Community
 Version:           19.03.12
...
$ sudo docker-compose --version
docker-compose version 1.24.1, build 4667896b

that's all! !! !!

Recommended Posts

Install docker and docker-compose on ubuntu in the shortest process
Install docker and docker-compose on Alpine Linux
Put Zabbix in Ubuntu with Docker and monitor Docker on the same host
Install Docker on Ubuntu Server 20.04
Monitor the Docker container and SystemD process on the same host with Zabbix on Ubuntu.
Install JDK and JRE on Ubuntu 16.10
Install Docker and docker-compose on Raspberry Pi 4, Linux (Debian) and Windows 10, respectively
How to install and configure the monitoring tool "Graphite" on Ubuntu
How to install the language used in Ubuntu and how to build the environment
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH
Install Docker on Ubuntu and set up remote connection using tls
Install OpenJDK (Java) on the latest Ubuntu
Try putting Docker in ubuntu on WSL
Build and install Wireshark Development Release (3.3.1) on Ubuntu
Just install Laravel8 on docker in PHP8 environment
Publish MySQL externally and log in on Ubuntu
Install and switch between multiple Javas on Ubuntu
Docker on Ubuntu18.04 on WSL2 and VSCode installation instructions
Install the latest version of Jenkins on Ubuntu 16
Install pyqt5 on ubuntu
Install Docker on Manjaro
Install Ruby on Ubuntu 20.04
Install Autoware on Ubuntu 18.04.5
Install Homebrew on Ubuntu 20.04
Command memo to install xeyes in ubuntu docker environment
Install rbenv with apt on ubuntu and put ruby
Install Rust in WSL2 Ubuntu environment and build WASM build environment
Install ag (the silver searcher) [on CentOS / Ubuntu / Mac]
Ssh to Ubuntu on VirtualBox on your Mac and do it until you install Docker
Install Veeam PN on Ubuntu in IBM Cloud VPC and connect with SSL VPN
Copy and paste the file contents in Ubuntu's Docker container
Install Docker on Raspberry Pi
Install OpenJDK7 (JAVA) on ubuntu 14.04
Install Cybozu Office 10 on Ubuntu 20.4
The key to running Docker on Raspberry Pi 4 (Ubuntu server 20.04)
AWS CLI install in Ubuntu 20.04
Install yarn in docker image
Install by specifying the version of Django in the Docker environment
Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)
Oracle Java 8 on Docker Ubuntu
Install MAV Proxy on Ubuntu 18.04
Install the plugin in Eclipse
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
Install Arudino IDE on Ubuntu 20
Install Java on WSL Ubuntu 18.04
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Arduino IDE on Ubuntu 20.04
Install raspi-config on Ubuntu 20.04 (LTS)
Install docker on AWS EC2
Install WordPress 5.5 on Ubuntu 20.04 LTS
Install PlantUML on Intellij on Ubuntu
Install docker, docker-compose for debin10
Install Ubuntu Server 20.04 on Btrfs
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
[Docker] The story that an error occurred in docker-compose up
Configuration script for using docker in proxy environment on ubuntu 20.04.1
[Docker] How to back up and restore the DB data of Rails application on docker-compose [MySQL]
Organize communication in an environment that uses various resources on the host machine and Docker container
Launch webpack-dev-server and docker-compose at the same time on Windows Terminal and display them in another pane
Until you put Ubuntu 20 on Windows 10 Home and WSL2 and run Docker