mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 22:55:55 +03:00
Add Docker Glances container docs
This commit is contained in:
parent
d959ca97b6
commit
4dd46cfef5
24
README.rst
24
README.rst
@ -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
|
||||
---------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user