我正试图在一个具有OracleLinux 6的虚拟服务器上安装官方文件
我将内核更新为uekr 4。
#uname -r
4.1.12-61.1.19.el6uek.x86_64这是码头版
#docker version
Client:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6b644ec
Built:
OS/Arch: linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?当我启动守护进程时,它会给出OK,但它会立即死掉。
#service docker start
Starting docker: . [ OK ]
#service docker status
docker dead but subsys locked这是原木
\nWed Nov 23 07:53:00 GMT 2016\n
time="2016-11-23T07:53:00.610036664Z" level=info msg="libcontainerd: new containerd process, pid: 5114"
time="2016-11-23T07:53:00.649075962Z" level=warning msg="containerd: low RLIMIT_NOFILE changing to max" current=1024 max=4096
time="2016-11-23T07:53:01.690428304Z" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section."
time="2016-11-23T07:53:01.766503952Z" level=warning msg="devmapper: Base device already exists and has filesystem ext4 on it. User specified filesystem will be ignored."
time="2016-11-23T07:53:01.788944031Z" level=info msg="[graphdriver] using prior storage driver \"devicemapper\""
time="2016-11-23T07:53:01.793561685Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
time="2016-11-23T07:53:01.794228177Z" level=warning msg="mountpoint for pids not found"
time="2016-11-23T07:53:01.794714149Z" level=info msg="Loading containers: start."
time="2016-11-23T07:53:01.996320180Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
time="2016-11-23T07:53:02.101877068Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error creating default \"bridge\" network: package not installed"它说包没有安装,但是当我运行sudo modinfo bridge时,它会显示模块。还有其他的包裹我不见了吗?
我尝试在/etc/sysconfig/docker中设置env变量。
我试着通过二进制文件安装。
我尝试创建用户并将他添加到docker组。
我尝试了很多其他的解决方案,比如
什么都没用!!有谁可以帮我?
发布于 2016-11-23 09:23:29
我没有OracleLinux6需要测试,但我相信您得到了这个问题。有人说它是在码头1.7.1 RC修复,但我还没有检查它。
我在CentOS 6或RehHat 6上看到了笑脸的问题,我的解决方法是安装docker-io-1.6.2-3.el6.x86_64.rpm,而不是docker-engine。
编辑yum.Storage.d,请在Oracle Linux 6上编辑它
cd /etc/yum.repos.d
wget http://www.hop5.in/yum/el6/hop5.repo
yum update像这样
rpm -ivh docker-io-1.6.2-3.el6.x86_64.rpm
service docker starthttps://stackoverflow.com/questions/40759445
复制相似问题