出现 Docker 与 Ubuntu 不兼容的错误

出现 Docker 与 Ubuntu 不兼容的错误

我正在尝试在笔记本电脑上的 ubuntu-18.04-bionic 上安装 Docker。我按照以下指南进行安装:Docker 安装指南。我成功地完成了所有步骤,直到最后一步我却失败了。

sudo systemctl status docker 

输出为:

● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2019-12-26 09:27:14 CET; 23min ago
     Docs: https://docs.docker.com
 Main PID: 1591 (dockerd)
    Tasks: 10
   CGroup: /system.slice/docker.service
           └─1591 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Dez 26 09:27:11 user dockerd[1591]: time="2019-12-26T09:27:11.166888465+01:00" level=warning msg="Your kernel does not support cgroup rt runtim
Dez 26 09:27:11 user dockerd[1591]: time="2019-12-26T09:27:11.166904414+01:00" level=warning msg="Your kernel does not support cgroup blkio wei
Dez 26 09:27:11 user dockerd[1591]: time="2019-12-26T09:27:11.166920490+01:00" level=warning msg="Your kernel does not support cgroup blkio wei
Dez 26 09:27:11 user dockerd[1591]: time="2019-12-26T09:27:11.168505695+01:00" level=info msg="Loading containers: start."
Dez 26 09:27:12 user dockerd[1591]: time="2019-12-26T09:27:12.718206251+01:00" level=info msg="Default bridge (docker0) is assigned with an IP 
Dez 26 09:27:12 user dockerd[1591]: time="2019-12-26T09:27:12.926480973+01:00" level=info msg="Loading containers: done."
Dez 26 09:27:14 user dockerd[1591]: time="2019-12-26T09:27:14.291990765+01:00" level=info msg="Docker daemon" commit=633a0ea838 graphdriver(s)=
Dez 26 09:27:14 user dockerd[1591]: time="2019-12-26T09:27:14.328054913+01:00" level=info msg="Daemon has completed initialization"
Dez 26 09:27:14 user dockerd[1591]: time="2019-12-26T09:27:14.844127498+01:00" level=info msg="API listen on /var/run/docker.sock"
Dez 26 09:27:14 user systemd[1]: Started Docker Application Container Engine.
~

我尝试用 Google 搜索该错误,显然这与内核未更新有关。此结果基于以下网站:一个办法?

当我到达安装最新镜像的步骤时,


 $ sudo apt-get install linux-image-flavour

我收到此错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-flavour

我不知道现在该做什么。我还没有找到如何安装或升级映像(如果这是下一步)的解决方案。我还做了硬件和软件规范。我的实际内核高于 4.9。另外,我的显卡是 Intel Device 3185。如果这有帮助的话。

先感谢您

相关内容