xinali
V2EX  ›  Docker

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

  •  
  •   xinali · Jun 28, 2016 · 3417 views
    This topic created in 3684 days ago, the information mentioned may be changed or developed.

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

    1 replies    2016-06-28 11:17:24 +08:00
    xinali
        1
    xinali  
    OP
       Jun 28, 2016
    找到了,查看系统信息
    ```
    root@093b9dc1b97d:~/test# cat /etc/issue
    Debian GNU/Linux jessie/sid \n \l
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 19:43 · PVG 03:43 · LAX 12:43 · JFK 15:43
    ♥ Do have faith in what you're doing.