File size: 792 Bytes
065fee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Networks
========

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

Create and manage networks on the server. For more information about networks, `see the Engine documentation <https://docs.docker.com/engine/userguide/networking/>`_.

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