2017-03-05 46 views
5

我試圖在遠程網絡服務器上的Ubuntu 16.04上安裝docker。但是,我收到一個令我非常沮喪的錯誤。我已經在這個操作系統上安裝了很多次Docker,但是這從來沒有發生過。Docker:設備cgroup未安裝(Ubuntu 16.04)

我停留在sudo apt-get install -y docker-engine,當不能安裝搬運工引擎:

~# 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 

我加根到組,我也找到了建議添加GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"到文件/ etc /默認/蠐螬,但該文件不存在!

我也試過sudo apt-get install cgroupfs-mount但沒有成功:-(

謝謝您的幫助!

回答

4

於是,鄉親們。有沒有解決辦法,可惜,原因是遠程Web服務器的體系結構中,託管的虛擬機。 我的供應商告訴我的所有虛擬機使用相同的內核在一個環境中,因此dokker不能訪問它。

唯一的選擇是現在切換到另一臺服務器。