I have a brand new droplet and there appears to be something wrong with the “stable” release using these instructions. When I run sudo systemctl status docker I get a bunch of error and it throws me into Vi:

● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-06-23 20:47:38 AEST; 15s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 20339 (dockerd)
      Tasks: 8
     Memory: 34.7M
     CGroup: /system.slice/docker.service
             └─20339 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.156277373+10:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.156436943+10:00" level=warning msg="Your kernel does not support cgroup blkio weigh>
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.156588335+10:00" level=warning msg="Your kernel does not support cgroup blkio weigh>
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.156960819+10:00" level=info msg="Loading containers: start."
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.420014263+10:00" level=info msg="Default bridge (docker0) is assigned with an IP ad>
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.643617453+10:00" level=info msg="Loading containers: done."
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.729797979+10:00" level=info msg="Docker daemon" commit=48a66213fe graphdriver(s)=ov>
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.730768864+10:00" level=info msg="Daemon has completed initialization"
Jun 23 20:47:38 projects systemd[1]: Started Docker Application Container Engine.
Jun 23 20:47:38 projects dockerd[20339]: time="2020-06-23T20:47:38.776191749+10:00" level=info msg="API listen on /run/docker.sock"
Output of apt-cache policy docker-ce

docker-ce:
  Installed: (none)
  Candidate: 5:19.03.9~3-0~ubuntu-focal
  Version table:
     5:19.03.9~3-0~ubuntu-focal 500
        500 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
Run the following command to download Docker Compose and make this software globally accessible on your system as docker-compose:

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
docker-compose/mysql/db_init.sql

DROP TABLE IF EXISTS `places`;

CREATE TABLE `places` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `visited` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `places` (name, visited) VALUES ('Berlin',0),('Budapest',0),('Cincinnati',1),('Denver',0),('Helsinki',0),('Lisbon',0),('Moscow',1),('Nairobi',0),('Oslo',1),('Rio',0),('Tokyo',0);
Next, set the correct permissions so that the docker compose command is executable:

chmod +x ~/.docker/cli-plugins/docker-compose
sudo chown $USER /var/run/docker.sock
Then add the GPG key for the official Docker repository to your system:

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add the Docker repository to APT sources:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
Make sure you are about to install from the Docker repo instead of the default Ubuntu repo:

apt-cache policy docker-ce
Docker Compose will first look for the defined image on your local system, and if it can’t locate the image it will download the image from Docker Hub. You’ll see output like this:

OutputCreating network "compose-demo_default" with the default driver
Pulling web (nginx:alpine)...
alpine: Pulling from library/nginx
cbdbe7a5bc2a: Pull complete
10c113fb0c77: Pull complete
9ba64393807b: Pull complete
c829a9c40ab2: Pull complete
61d685417b2f: Pull complete
Digest: sha256:57254039c6313fe8c53f1acbf15657ec9616a813397b74b063e32443427c5502
Status: Downloaded newer image for nginx:alpine
Creating compose-demo_web_1 ... done
Finally, install Docker:

sudo apt install docker-ce

Recommend

How To Install and Use Docker on Ubuntu 20.04 Conclusion Want to learn more? Join the DigitalOcean Community! Still looking for an answer?

How To Install and Use Docker on Ubuntu 20.04 Step 8 — Pushing Docker Images to a Docker Repository

How To Install and Use Docker on Ubuntu 20.04 Step 7 — Committing Changes in a Container to a Docker Image

How To Install and Use Docker on Ubuntu 20.04 Step 6 — Managing Docker Containers

How To Install and Use Docker on Ubuntu 20.04 Step 5 — Running a Docker Container

How To Install and Use Docker on Ubuntu 20.04 Step 4 — Working with Docker Images

How To Install and Use Docker on Ubuntu 20.04 Step 3 — Using the Docker Command

How To Install and Use Docker on Ubuntu 20.04 Step 2 — Executing the Docker Command Without Sudo (Optional)

How To Install and Use Docker on Ubuntu 20.04 Step 1 — Installing Docker

Использование Visual Studio Code для удаленной разработки с помощью плагина Remote-SSH Шаг 3 — Выполнение кода на удаленном сервере

Использование Visual Studio Code для удаленной разработки с помощью плагина Remote-SSH Шаг 2 — Настройка плагина Remote-SSH и подключение к серверу

Built-in Python 3 Functions for Working with Numbers Prerequisites Still looking for an answer?

Built-in Python 3 Functions for Working with Numbers Calculating a Sum

Built-in Python 3 Functions for Working with Numbers Rounding Numbers

Built-in Python 3 Functions for Working with Numbers Power

Built-in Python 3 Functions for Working with Numbers Absolute Value Finding the Quotient and Remainder in One Function

Built-in Python 3 Functions for Working with Numbers Absolute Value

Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda y sustitución de valores de cadenas

Cómo indexar, dividir y manipular cadenas en JavaScript Recorte de espacios en blanco

Cómo indexar, dividir y manipular cadenas en JavaScript División de cadenas

Cómo indexar, dividir y manipular cadenas en JavaScript Conversión a mayúsculas o minúsculas

Cómo indexar, dividir y manipular cadenas en JavaScript Búsqueda de la longitud de una cadena

Cómo indexar, dividir y manipular cadenas en JavaScript Acceso a los caracteres

Cómo indexar, dividir y manipular cadenas en JavaScript Las primitivas de cadena y los objetos String

How To Set Up Zoho Mail with a Custom Domain Managed by DigitalOcean DNS Conclusion Want to learn more? Join the DigitalOcean Community! Still looking for an answer?

Cómo instalar y proteger Redis en Ubuntu 18.04 Paso 5 - Renombrar comandos peligrosos