对于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 not supported. This will lead to data loss and unexpected behav

本文介绍了如何在不支持包管理安装Docker的SUSE SLE 12环境中,通过二进制方式成功安装及解决启动时遇到的问题。包括下载Docker二进制文件,解压,移动到执行目录,设置环境变量以解决启动报错,以及升级Docker后处理遗留文件的方法。
&spm=1001.2101.3001.5002&articleId=88396962&d=1&t=3&u=2bff71beb6cf4981a6444e86bfb05b97)
1731

被折叠的 条评论
为什么被折叠?



