error starting docker daemon on ubuntu 14.04 (Devices cgroup isn't mounted)

后端 未结 7 2239
迷失自我
迷失自我 2020-12-24 06:56

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

I tried on 2 Ubuntu 14.04 machines and on

相关标签:
7条回答
  • 2020-12-24 07:30

    I just had this problem on Fedora 31. The solution as described here is to append systemd.unified_cgroup_hierarchy=0 to the GRUB_CMDLINE_LINUX var in /etc/sysconfig/grub.

    (In my case, GRUB_CMDLINE_LINUX="resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet systemd.unified_cgroup_hierarchy=0")

    Then run grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg and restart.

    0 讨论(0)
  • 2020-12-24 07:31

    I resolved this issue by starting the docker deamon manually using:

    sudo service docker start

    0 讨论(0)
  • 2020-12-24 07:31

    In my case, I didn't have to install or config anything new. Docker was running fine before this failure. Try restarting docker (eg. systemctl restart docker). If it fails, shutdown and cold-boot the machine. Ensure docker is running. After 129 days of uptime, my docker just got in a weird, bad state.

    0 讨论(0)
  • 2020-12-24 07:38

    maybe need packages:

    apt-get install aufs-tools
    apt-get install cgroup-lite
    
    0 讨论(0)
  • 2020-12-24 07:41

    I just had to remove any mounts of cgroup from /etc/fstab and I solved the problem for Devices cgroup isn't mounted. I think that Module br_netfilter not found is just a warning and does not prevent Docker from starting. But you can fix it by installing:

    apt-get install linux-image-3.19.0-33-generic linux-image-extra-3.19.0-33-generic
    

    After that you have to reboot.

    The "extra" is needed because aufs is not anymore included with basic image in Ubuntu.

    0 讨论(0)
  • 2020-12-24 07:42

    I've had this issue with debian.

    The package cgroupfs-mount solved that.

    sudo aptitude install cgroupfs-mount
    
    0 讨论(0)
提交回复
热议问题