Skip to content

Commit

Permalink
Documented how to expose ports on container nw with published fw poli…
Browse files Browse the repository at this point in the history
…cy (#2514)
  • Loading branch information
stuclem authored Sep 18, 2019
1 parent 9a64803 commit 0d7a545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_doc/vic_vsphere_admin/container_networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ You can configure the trust level of container networks. The following table des
|`published`|Only connections to published ports is permitted.|
|`open`|All traffic is permitted and developers can decide which ports to expose.|

If you do not set a trust level, the default level of trust is `published`. As a consequence, if you do not set a trust level, container developers must explicitly specify `-p 80` in `docker run` and `docker create` commands to publish port 80 on a container. Obliging developers to specify the ports to expose improves security and gives you more awareness of your environment and applications.
If you do not set a trust level, the default level of trust is `published`. As a consequence, if you do not set a trust level, container developers must explicitly specify `-p 80` in `docker run` and `docker create` commands to publish port 80 on a container. Obliging developers to specify the ports to expose improves security and gives you more awareness of your environment and applications. To open ports on container networks when using the `published` firewall policy, use the `expose` option with Docker compose.

You can use `vic-machine configure --container-network-firewall` to change the trust level after deployment of the VCH. For information about configuring container network firewalls, see *Configure Container Network Settings* in [Configure Running Virtual Container Hosts](configure_vch.md#containernet).

Expand Down

0 comments on commit 0d7a545

Please sign in to comment.