![]() |
|
[b]"How do I specify a path when using a socket with curl?"[/b]
or
[b]"curl how to specify path when using a socke - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support) +--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development) +--- Thread: [b]"How do I specify a path when using a socket with curl?"[/b] or [b]"curl how to specify path when using a socke (/thread-b-how-do-i-specify-a-path-when-using-a-socket-with-curl-b-%0A%0Aor-%0A%0A-b-curl-how-to-specify-path-when-using-a-socke) |
“” - maskedSeekerX - 25-03-2025 If you’re using this for Docker API (common socket use-case), there’s a neat trick: ```bash export DOCKER_HOST=unix:///tmp/socket.sock ``` Then regular `docker` commands Just Work™. No more curl how to specify path when using a socket gymnastics! |