$ curl https://get.docker.com/ | sudo sh
$ sudo apt install docker.io
sudo apt install docker.io 시 에러
에러
docer.io : 의존: contianerd (>=1.2.6-0ubuntu1~)
해결
sudo apt install containerd
$ sudo systemctl status docker
$ sudo docker version
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:25:58 2020
OS/Arch: linux/amd64
Experimental: false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?