Skip to content

Commit c8b70fb

Browse files
committed
Expand docker manifest capabilities to include network and ports configuration
1 parent 2f0e7fd commit c8b70fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/sonic-application-extension/sonic-application-extension-guide.md

+2
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ The value should contain a JSON serialized as a string.
200200
| /container | object | no | Container related properties. |
201201
| /container/privileged | string | no | Start the container in privileged mode. Later versions of manifest might extend container properties to include docker capabilities instead of privileged mode. Defaults to False. |
202202
| /container/volumes | list of strings | no | List of mounts for a container. The same syntax used for '-v' parameter for "docker run".<p>Example: "\<src\>:\<dest\>:\<options\>". Defaults to []. |
203+
| /container/network | string | no | Define the container network type. e.g.: 'bridge', 'host', etc.
204+
| /container/ports | list of strings | no | List of ports to publish for the docker. e.g.: ["8080:8080", "22:22"]
203205
| /container/mounts | list of objects | no | List of mounts for a container. Defaults to []. |
204206
| /container/mounts/[id]/source | string | yes | Source for mount |
205207
| /container/mounts/[id]/target | string | yes | Target for mount |

0 commit comments

Comments
 (0)