小编Ube*_*kan的帖子

Docker Linux 容器内核更新

我创建了 linux ubuntu 容器,但我厌倦了运行 python 脚本。

但它会引发这个错误:

<frozen importlib._bootstrap>:228: RuntimeWarning: Linux supports fsync/fdsync with io_submit since 4.18 but current kernel 4.15.0-55-generic doesn't support it. Related calls will have no effect.
Run Code Online (Sandbox Code Playgroud)

如何更新 docker 容器内的 ubuntu 内核?

有dockerfile:

FROM ubuntu:21.04
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get dist-upgrade -y

RUN apt-get install python3.9 -y
RUN apt-get install python3-pip -y
Run Code Online (Sandbox Code Playgroud)

linux ubuntu docker python-importlib

2
推荐指数
1
解决办法
5651
查看次数

标签 统计

docker ×1

linux ×1

python-importlib ×1

ubuntu ×1