对于13.2之后的版本,因为docker已经被添加到了suse仓库中,直接使用sudo zypper install docker
即可。
但是当前手上的机器是suse12.3,不支持以安装包的方式安装docker。本文记录在该环境上(SUSE SLE 12)以二进制方式安装docker的过程。
- 下载
wget https://download.docker.com/linux/static/stable/x86_64/docker-17.03.2-ce.tgz
- 解压
tar xzvf docker-17.03.2-ce.tgz
sudo cp docker/* /usr/bin/
移动到执行目录下- 启动docker daemon
sudo dockerd
这一步遇到报错如下:
INFO[0000] libcontainerd: new containerd process, pid: 19581
WARN[0000] containerd: low RLIMIT_NOFILE changing to max current=1024 max=4096
ERRO[0001] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
ERRO[0001] 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded.
ERRO[0001] devmapper: Udev sync is no