mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-13 19:29:54 +00:00
deploy: 7bdb2127e0
This commit is contained in:
@@ -299,6 +299,7 @@ see <a class="reference internal" href="#ansible-collections-community-docker-do
|
||||
<p>One way to connect to containers is to use SSH (<code class="docutils literal notranslate"><span class="pre">ssh</span></code>). For this, the options <em>default_ip</em> and <em>private_ssh_port</em> are used. This requires that a SSH daemon is running inside the containers.</p>
|
||||
<p>Alternatively, <code class="docutils literal notranslate"><span class="pre">docker-cli</span></code> selects the <a class="reference internal" href="docker_connection.html#ansible-collections-community-docker-docker-connection"><span class="std std-ref">docker connection plugin</span></a>, and <code class="docutils literal notranslate"><span class="pre">docker-api</span></code> (default) selects the <a class="reference internal" href="docker_api_connection.html#ansible-collections-community-docker-docker-api-connection"><span class="std std-ref">docker_api connection plugin</span></a>.</p>
|
||||
<p>When <code class="docutils literal notranslate"><span class="pre">docker-api</span></code> is used, all Docker daemon configuration values are passed from the inventory plugin to the connection plugin. This can be controlled with <em>configure_docker_daemon</em>.</p>
|
||||
<p>Note that the <a class="reference internal" href="docker_api_connection.html#ansible-collections-community-docker-docker-api-connection"><span class="std std-ref">docker_api connection plugin</span></a> does <strong>not work with TCP TLS sockets</strong>! See <a class="reference external" href="https://github.com/ansible-collections/community.docker/issues/605">https://github.com/ansible-collections/community.docker/issues/605</a> for more information.</p>
|
||||
<p class="ansible-option-line"><span class="ansible-option-choices">Choices:</span></p>
|
||||
<ul class="simple">
|
||||
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">"ssh"</span></code></p></li>
|
||||
|
||||
Reference in New Issue
Block a user