前言: 因为之前在自己的mac上直接使用HomeBrew的包管理安装的,使用brew install docker即可,这种方法简单,但最近想尝试在Linux下安装,费了一些时间,主要是启动docker时报异常 Failed to start docker.service: Unit not found.下面是自己安装的步骤. 安装前准备: 先查看linux内核信息及操作系统信息 linux版本及内核信息可用 uname -a ,从下图可知,内核为64位版本为3.10.0 cat /p…
在使用docker容器时,同时你docker里的系统正好是debian或ubuntu的时候,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim,可是当你敲apt-get install vim命令时,提示: Reading package lists... Done Building dependency tree Reading state information... Done …