Merge pull request #12 from portainer/feat-network-field

docs(templates): add a section about the network field
pull/15/head
Anthony Lapenna 2017-02-11 09:32:49 +13:00 committed by GitHub
commit 997b5d2457
1 changed files with 17 additions and 0 deletions

View File

@ -130,6 +130,23 @@ Example:
]
}
``network``
-----------
A string corresponding to the name of an existing Docker network.
Will auto-select the network (if it exists) in the templates view.
This field is **optional**.
Example:
.. code-block:: json
{
"network": "host"
}
``volumes``
-----------