Fix Unix socket path. (#736)

This commit is contained in:
Felix Fontein
2024-01-01 22:53:58 +01:00
committed by GitHub
parent 56bbef2b44
commit 199d9e50d3
5 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ DOCUMENTATION = '''
docker_host:
description:
- Socket of a Docker swarm manager node (C(tcp), C(unix)).
- "Use V(unix://var/run/docker.sock) to connect via local socket."
- "Use V(unix:///var/run/docker.sock) to connect via local socket."
type: str
required: true
aliases: [ docker_url ]
@@ -111,7 +111,7 @@ DOCUMENTATION = '''
EXAMPLES = '''
# Minimal example using local docker
plugin: community.docker.docker_swarm
docker_host: unix://var/run/docker.sock
docker_host: unix:///var/run/docker.sock
# Minimal example using remote docker
plugin: community.docker.docker_swarm