xinali
V2EX  ›  Docker

docker 如何查看 container 的系统信息

  •  
  •   xinali · Jun 28, 2016 · 3401 views
    This topic created in 3804 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:25:59 +08:00
    suconghou
    suconghou
    Jun 28, 2016
    1
    进入后
    `cat /etc/issue ` `cat /etc/os-release ` `cat /etc/redhat-release`
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2257 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:59 · PVG 18:59 · LAX 02:59 · JFK 05:59
    ♥ Do have faith in what you're doing.