Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 792 Bytes

networks.rst

File metadata and controls

34 lines (24 loc) · 792 Bytes

Networks

.. py:module:: docker.models.networks

Create and manage networks on the server. For more information about networks, see the Engine documentation.

Methods available on client.networks:

.. rst-class:: hide-signature
.. py:class:: NetworkCollection

  .. automethod:: create
  .. automethod:: get
  .. automethod:: list
  .. automethod:: prune

Network objects

.. autoclass:: Network()

  .. autoattribute:: id
  .. autoattribute:: short_id
  .. autoattribute:: name
  .. autoattribute:: containers
  .. py:attribute:: attrs

    The raw representation of this object from the server.

  .. automethod:: connect
  .. automethod:: disconnect
  .. automethod:: reload
  .. automethod:: remove