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

docker 如何查看 container 的系统信息

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

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

    1 条回复    2016-06-28 11:25:59 +08:00
    suconghou
        1
    suconghou  
       2016-06-28 11:25:59 +08:00
    进入后
    `cat /etc/issue ` `cat /etc/os-release ` `cat /etc/redhat-release`
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5500 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:00 · PVG 17:00 · LAX 02:00 · JFK 05:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.