Add Docker Glances container docs

pull/789/head
Nicolargo 2016-02-05 16:16:40 +01:00
parent d959ca97b6
commit 4dd46cfef5
1 changed files with 22 additions and 2 deletions

View File

@ -56,8 +56,10 @@ Optional dependencies:
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
(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:
export PYTHONUSERBASE=~/mylocalpath
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
---------