We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.1.24
Linux 5.15.0-117-generic x86_64 x86_64
test.ts
const response = await fetch('http://api/containers/json', { unix: "/var/run/docker.sock", }); const data = await response.json(); console.log(data);
bun test.ts
FailedToOpenSocket: Was there a typo in the url or port? path: "http://api/containers/json"
Reference: https://bun.sh/docs/api/fetch#unix-domain-sockets
Response from socket
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.24
What platform is your computer?
Linux 5.15.0-117-generic x86_64 x86_64
What steps can reproduce the bug?
test.ts
bun test.ts
FailedToOpenSocket: Was there a typo in the url or port? path: "http://api/containers/json"
Reference: https://bun.sh/docs/api/fetch#unix-domain-sockets
What is the expected behavior?
Response from socket
What do you see instead?
FailedToOpenSocket: Was there a typo in the url or port? path: "http://api/containers/json"
Additional information
No response
The text was updated successfully, but these errors were encountered: