[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

20 Replies, 1426 Views

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!



Users browsing this thread: 1 Guest(s)