DenoDDeno
Powered by
tenkoT
Denoβ€’14mo ago
tenko

TestContainers are broken in Deno.

I'm was trying to set up testcontainers https://testcontainers.com/ in deno. Their SDK makes a socket connection to local docker using node http. However, this same connection is broken in deno. I'm just wondering if it's my machine or something is wrong with node:http. Here is more info https://github.com/denoland/deno/issues/27675
Testcontainers
Testcontainers
Testcontainers is an opensource library for providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Testcontainers
GitHub
Deno 2.1.4 - node:http's http.request socketPath option fails in De...
Summary: Deno's node:http module behaves differently than Node.js's http module when using http.request with the socketPath option to connect to the Docker socket. Instead of connecting to ...
Deno 2.1.4 - node:http's http.request socketPath option fails in De...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno and Testcontainers
Helielton FioramonteHHelielton Fioramonte / help
2y ago
Deno + Vite + DenoKV
AndiAAndi / help
2y ago