0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[Docker on macOS] Ubuntuコンテナ上で走るLinuxカーネルのバージョン

Last updated at Posted at 2023-09-02

「特定のカーネルバージョンでのみ提供されるaptパッケージを使いたい」という状況があり、調べた。間違えてたら教えてください。

調べて分かったこと

Ubuntu image version ↔️ Ubuntu release version

DockerのUbuntuイメージのバージョンは、Ubuntuのリリースバージョンに相当する。

Linux kernel version ↔️ Docker engine version

macOS上のDockerエンジンは、LinuxのVMを走らせており、Linux系のコンテナはその上で走っているから。ref

よって、Docker on macOS上のUbuntuコンテナが使用するLinuxカーネルのバージョンは、Dockerエンジンのバージョンに依存する。

Ubuntu release version ↔️ Linux kernel version

Ubuntuのリリースバージョンごとに、どのLinuxカーネルのバージョンがサポートされているかは異なる。ref

(TODO:確認) Docker engine version ↔️ Ubuntu image version

「Dockerエンジンのバージョンにより、使用可能なUbuntuイメージのバージョンが制限される」ということだろうか。

Ref.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?