Choria Dockerinfo Agent

This agent let you retrieve basic information about docker and docker swarm

Actions

This agent provides the following actions, for details about each please run mco plugin doc dockerinfo

  • get - Retrieve docker info

Usage

To get the status of a file:

% mco rpc dockerinfo get 
Discovering hosts using the mc method for 2 second(s) .... 1
 * [ ============================================================> ] 1 / 1
render-group-europe-west4-20jm.europe-west4-b.c.spareproject.internal
   containers_running: 0
                swarm: {"control_available"=>false,
                        "node_id"=>"xxxxx",
                        "remote_managers"=>
                         [{"addr"=>"xxx.xxx.xxx.xxx:2377", "node_id"=>"yyyy"}]}
Finished processing 1 / 1 hosts in 34.10 ms