Skip to content

Commit

Permalink
Added --container-name-convention option
Browse files Browse the repository at this point in the history
  • Loading branch information
stuclem committed Sep 29, 2017
1 parent 70a07db commit 35c15f8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/user_doc/vic_vsphere_admin/vch_installer_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -1005,4 +1005,15 @@ Configure a VCH so that it sends the logs in the `/var/log/vic` folder on the VC
You specify the address and port of the syslog endpoint in the `--syslog-address` option. You must also specify whether the transport protocol is UDP or TCP. If you do not specify a port, the default port is 514.

<pre>--syslog-address udp://<i>syslog_host_address</i>[:<i>port</i>]</pre>
<pre>--syslog-address tcp://<i>syslog_host_address</i>[:<i>port</i>]</pre>
<pre>--syslog-address tcp://<i>syslog_host_address</i>[:<i>port</i>]</pre>

### `--container-name-convention` <a id="container-name-convention"></a>

Short name: `--cnc`

Enforce a naming convention for container VMs, that applies a prefix to the names of all container VMs that run in a VCH. Applying a naming convention to container VMs facilitates organizational requirements such as chargeback. The container naming convention applies to the display name of the container VM that appears in the vSphere Client, not to the container name that Docker uses.

You specify the container naming convention by providing a prefix to apply to container names, and adding `-{name}` or `-{id}` to specify whether to use the container name or the container ID for the second part of the container VM display name. If you specify `-{name}`, the container VM display names use either the name that Docker generates, or a name that the container developer specifies in `docker run --name` when they run the container.

<pre>--container-name-convention <i>cVM_name_prefix</i>-{name}</pre>
<pre>--container-name-convention <i>cVM_name_prefix</i>-{id}</pre>

0 comments on commit 35c15f8

Please sign in to comment.