Docker: cgroup devices not installed (Ubuntu 16.04)

I am trying to install docker on Ubuntu 16.04 on a remote web server. However, I get an error message that really upsets me. I have installed docker many times, as well as on this OS, but this never happened.

I am stuck in sudo apt-get install -y docker-engine when sudo apt-get install -y docker-engine cannot be installed:

 ~# systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since So 2017-03-05 17:47:20 CET; 32s ago Docs: https://docs.docker.com Main PID: 18194 (code=exited, status=1/FAILURE) dockerd[18194]: time="2017-03-05T17:47:20.567753592+01:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please e dockerd[18194]: time="2017-03-05T17:47:20.569299675+01:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please e dockerd[18194]: time="2017-03-05T17:47:20.591796895+01:00" level=info msg="Graph migration to content-addressability took 0.00 seconds" dockerd[18194]: time="2017-03-05T17:47:20.592394882+01:00" level=warning msg="Your kernel does not support oom control" dockerd[18194]: time="2017-03-05T17:47:20.592410368+01:00" level=warning msg="Your kernel does not support memory swappiness" dockerd[18194]: time="2017-03-05T17:47:20.592421460+01:00" level=warning msg="Your kernel does not support kernel memory limit" dockerd[18194]: time="2017-03-05T17:47:20.592427398+01:00" level=warning msg="Unable to find cpu cgroup in mounts" dockerd[18194]: time="2017-03-05T17:47:20.592458649+01:00" level=warning msg="Unable to find cpuset cgroup in mounts" dockerd[18194]: time="2017-03-05T17:47:20.592490516+01:00" level=warning msg="mountpoint for pids not found" dockerd[18194]: Error starting daemon: Devices cgroup isn't mounted 

I added root to the group, I also found advice to add GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" to the file / etc / default / grub, but this file does not exist!

I also tried sudo apt-get install cgroupfs-mount , but to no avail: - (

Thank you for your help!

+5
source share
1 answer

So guys. Unfortunately, there is no solution. The reason is the architecture of the remote web server hosted by the virtual machine. My provider told me that all virtual machines use the same cores in the same environment, and therefore dokker cannot access it.

The only option is to switch to another server.

+4
source

Source: https://habr.com/ru/post/1265065/


All Articles