diff --git a/20_cases_os/20.3_debian.md b/20_cases_os/20.3_debian.md index 50d64cb..530107d 100644 --- a/20_cases_os/20.3_debian.md +++ b/20_cases_os/20.3_debian.md @@ -25,7 +25,7 @@ Debian 是一个常用的基础镜像。 ```bash $ docker run -it debian bash root@668e178d8d69:/# cat /etc/issue -Debian GNU/Linux 12 +Debian GNU/Linux 13 ``` `Debian` 镜像很适合作为基础镜像,构建自定义镜像。 @@ -43,18 +43,18 @@ Debian GNU/Linux 12 Ubuntu 是目前最流行的 Linux 发行版之一。 -下面以 `ubuntu:24.04` 为例,演示如何使用该镜像安装一些常用软件。 +下面以 `ubuntu:26.04` 为例,演示如何使用该镜像安装一些常用软件。 首先使用 `-ti` 参数启动容器,登录 `bash`,查看 `ubuntu` 的发行版本号。 ```bash -$ docker run -ti ubuntu:24.04 /bin/bash +$ docker run -ti ubuntu:26.04 /bin/bash root@7d93de07bf76:/# cat /etc/os-release -PRETTY_NAME="Ubuntu 24.04 LTS" +PRETTY_NAME="Ubuntu 26.04 LTS" NAME="Ubuntu" -VERSION_ID="24.04" -VERSION="24.04 LTS (Noble Numbat)" -VERSION_CODENAME=noble +VERSION_ID="26.04" +VERSION="26.04 LTS (Resolute Raccoon)" +VERSION_CODENAME=resolute ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" diff --git a/20_cases_os/20.4_centos.md b/20_cases_os/20.4_centos.md index 815dbfc..320f5bc 100644 --- a/20_cases_os/20.4_centos.md +++ b/20_cases_os/20.4_centos.md @@ -50,7 +50,7 @@ latest: Pulling from library/fedora Digest: sha256:64a02df6aac27d1200c2572fe4b9949f1970d05f74d367ce4af994ba5dc3669e Status: Downloaded newer image for fedora:latest [root@196ca341419b /]# cat /etc/redhat-release -Fedora release 39 (Thirty Nine) +Fedora release 43 (Forty Three) ``` ### 20.4.3 相关资源