Method: Docker::API::Container#list

Defined in:
lib/docker/api/container.rb

#list(params = {}) ⇒ Object

Return a list of containers.

Docker API: GET /containers/json

Parameters:

  • params (Hash) (defaults to: {})

    : Parameters that are appended to the URL.

See Also:



13
14
15
# File 'lib/docker/api/container.rb', line 13

def list params = {}
    get("/containers/json", params)
end