gpt4 book ai didi

linux - 在 docker 容器中使用的 Ubuntu 版本

转载 作者:太空宇宙 更新时间:2023-11-04 10:18:55 24 4
gpt4 key购买 nike

我正在尝试找出在 docker 容器中使用的 Ubuntu 版本。

Verfiy the version of ubuntu running in a Docker container提到 cat/etc/lsb-release 给出:

cat: can't open '/etc/lsb-release': No such file or directory

uname -r 给出:

3.13.0-119-generic

FWIW,uname -a 给出:

Linux <container id> 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 Linux

知道它可能是什么版本的 Ubuntu 吗?或者我还能如何找到它?

最佳答案

尝试 lsb-release -acat/etc/issue

关于linux - 在 docker 容器中使用的 Ubuntu 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44758578/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com