提交 4dd46cfe 编写于 作者: N Nicolargo

Add Docker Glances container docs

上级 d959ca97
...@@ -56,8 +56,10 @@ Optional dependencies: ...@@ -56,8 +56,10 @@ Optional dependencies:
Installation Installation
============ ============
Glances Auto Install script Several method to test/install Glances on your system. Choose your weapon !
---------------------------
Glances Auto Install script: the total way
------------------------------------------
To install both dependencies and latest Glances production ready version To install both dependencies and latest Glances production ready version
(aka *master* branch), just enter the following command line: (aka *master* branch), just enter the following command line:
...@@ -118,6 +120,24 @@ If you need to install Glances in a specific user location, use: ...@@ -118,6 +120,24 @@ If you need to install Glances in a specific user location, use:
export PYTHONUSERBASE=~/mylocalpath export PYTHONUSERBASE=~/mylocalpath
pip install --user glances pip install --user glances
Docker: the funny way
---------------------
A Glances container is available. It will include the latest development HEAD version. You can use it to monitor your server and all your others containers !
Get the Glances container:
.. code-block:: console
docker pull nicolargo/glances
Run the container in console mode:
.. code-block:: console
docker run -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host -it docker.io/nicolargo/glances
GNU/Linux GNU/Linux
--------- ---------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册