安装
sudo apt-get update
sudo apt-get install docker

这个时候输入
$ docker
会显示
The program 'docker' is currently not installed. You can install it by typing:
sudo apt install docker.io
继续安装docker.io
sudo apt install docker.io
然后输入
$ docker
来查看帮助

镜像
导入本地镜像
docker import - REPOSITORY < xxxxx.tar
然后使用
sudo docker images
查看当前镜像

网友评论