From ae86731aa751b704490998f5651ce1e8cf8776cc Mon Sep 17 00:00:00 2001 From: Januar Date: Mon, 22 May 2017 17:20:32 +0400 Subject: [PATCH] provider/docker network alias (#14710) * Add Network Alias configuration with network options * Handle case where there's no network option * Handle use case where network option is not available * Handle use case where network option is not available * Network alias only on user defined network * Update documentation for docker provider on network aliases * Remove unused variable * Update documentation * add unit test for docker container network * fix unit test for docker container network --- r/container.html.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/r/container.html.markdown b/r/container.html.markdown index d0996c99..a267cb24 100644 --- a/r/container.html.markdown +++ b/r/container.html.markdown @@ -77,6 +77,7 @@ The following arguments are supported: Defaults to "json-file". * `log_opts` - (Optional, map of strings) Key/value pairs to use as options for the logging driver. +* `network_alias` - (Optional, set of strings) Network aliases of the container for user-defined networks only. * `network_mode` - (Optional, string) Network mode of the container. * `networks` - (Optional, set of strings) Id of the networks in which the container is.