DockerCLI/cli-plugins/socket
Bjorn Neergaard 6d0b329b0d
cli-plugins: use non-abstract socket on darwin
As macOS does not support the abstract socket namespace, use a temporary
socket in $TMPDIR to connect with the plugin. Ensure this socket is
cleaned up even in the case of crash/ungraceful termination by removing
it after the first connection is accepted.

Co-authored-by: Laura Brehm <laurabrehm@hey.com>
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com>
2024-01-12 12:30:27 -07:00
..
socket.go cli-plugins: use non-abstract socket on darwin 2024-01-12 12:30:27 -07:00
socket_darwin.go cli-plugins: use non-abstract socket on darwin 2024-01-12 12:30:27 -07:00
socket_nodarwin.go cli-plugins: use non-abstract socket on darwin 2024-01-12 12:30:27 -07:00