在ubuntu 14.04上启动docker守护程序时出错(设备cgroup未安装) [英] error starting docker daemon on ubuntu 14.04 (Devices cgroup isn't mounted)

查看:3546
本文介绍了在ubuntu 14.04上启动docker守护程序时出错(设备cgroup未安装)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循docker指示来安装和验证docker安装(从 http://docs.docker.com/linux/step_one /

I followed docker instructions to install and verify the docker installation (from http://docs.docker.com/linux/step_one/).

我在2台Ubuntu 14.04机器上尝试过,在启动docker守护进程时,我遇到以下错误:

I tried on 2 Ubuntu 14.04 machines and on both I got following error when starting docker daemon:

$ sudo docker daemon
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
INFO[0000] [graphdriver] using prior storage driver "aufs" 
INFO[0000] Option DefaultDriver: bridge                 
INFO[0000] Option DefaultNetwork: bridge                
WARN[0000] Running modprobe bridge nf_nat br_netfilter failed with    message: modprobe: WARNING: Module br_netfilter not found. , error: exit status 1 
INFO[0000] Firewalld running: false                     
WARN[0000] Your kernel does not support cgroup memory limit: mountpoint for memory not found 
WARN[0000] mountpoint for cpu not found                 
FATA[0000] Error starting daemon: Devices cgroup isn't mounted 

我感谢任何帮助来解决这个问题。

I appreciate any help to resolve this issue.

推荐答案

尝试以下操作:

设置GRUB_CMDLINE_LINUX值如下:

  • Log into Ubuntu as a user with sudo privileges.
  • Edit the /etc/default/grub file.
  • Set the GRUB_CMDLINE_LINUX value as follows:

GRUB_CMDLINE_LINUX =cgroup_enable =内存swapaccount = 1

保存并关闭文件。

更新GRUB。

$ sudo update-grub

重新启动系统。

根据这个

这篇关于在ubuntu 14.04上启动docker守护程序时出错(设备cgroup未安装)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆