V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
xinali
V2EX  ›  Docker

在 docker 中如何查看 container 的系统信息

  •  
  •   xinali · 2016-06-28 10:53:33 +08:00 · 2813 次点击
    这是一个创建于 2856 天前的主题,其中的信息可能已经有所发展或是发生改变。

    比如我的 container 的系统是 centos/ubuntu ,我如何才能知道呢,进入 container ,运行 unane -a 显示的是主机的信息 利用 docker inspect 显示的没有 container 相关系统的信息

    1 条回复    2016-06-28 11:17:24 +08:00
    xinali
        1
    xinali  
    OP
       2016-06-28 11:17:24 +08:00
    找到了,查看系统信息
    ```
    root@093b9dc1b97d:~/test# cat /etc/issue
    Debian GNU/Linux jessie/sid \n \l
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5196 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:20 · PVG 09:20 · LAX 18:20 · JFK 21:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.