testcontainers-node
testcontainers-node copied to clipboard
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
I currently connect to a remote Docker server to run Testcontainers over plain HTTP (with env var `DOCKER_HOST=tcp://docker.lan:2375`). Docker is going to remove this option and users either have to...
I cannot find an example for it in the docs. I tried to ```js const mongo = new MongoDBContainer() .withEnvironment({ MONGO_INITDB_ROOT_USERNAME: dbUsername, MONGO_INITDB_ROOT_PASSWORD: dbPassword, }) .start(); ``` but it appears...
I'm needing to be able to use the [`cert`/`key`](https://github.com/azure/azurite?tab=readme-ov-file#certificate-configuration-https) and [`oauth`](https://github.com/azure/azurite?tab=readme-ov-file#oauth-configuration) options in Azurite (Yes, I know, life would be _much_ simpler if I didn't have to 🤷 ). It...
**Expected Behaviour** Whenever testcontainers try to pull images it should pull using `docker pull ` rather than using http(s). Because incase of private repositories like AWS ECR access is configured...
PS: I have read https://github.com/testcontainers/testcontainers-node/issues/383, but I'm reopening since no solution was provided there. **Expected Behaviour** Not to leak anything. Deno's test runner won't allow tests to pass if leaks...
**Expected Behaviour** For the snapshot to execute successfully in a Github Actions environment. **Actual Behaviour** When executing `await postgresContainer.snapshot();` during CI, it throws an EPIPE error. It works fine locally...
Remember to update the docs as well.
**Expected Behaviour** When a container is part of multiple networks, I should be able to consistently get the right port using `getMappedPort`. **Actual Behaviour** In these conditions, `getMappedPort` intermittently returns...
**Expected Behaviour** This works in command line, it runs the 2 compose files: ``` try { execSync( 'docker compose -f ../lib/rollup/docker/docker-compose.yml -f docker-compose.yml up -d', { cwd: path.resolve(PROJECT_ROOT, "docker"), stdio:...
Bumps the actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `5` |...